The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
js-model and Rails 3.1 integration
I wrote quick post about the js-model-rails gem for Rails 3.1 which briefly muses on the new possibilities for integration between frontend and backend.
Difference between class_inheritable_attribute and class_attribute
I couldn’t find any simple explanation about differences beetween class_inheritable_attribute and class_attribute methods, so I write a short post about them.
Forever, microframework for your daemons!
Small daemon framework for ruby, with logging, error handler and cli to easily manage and watch your daemons… check it out!.
GemAWeek Episode 5 - RABL
Just released episode 5 where I go over creating public APIs using RABL. Check it out at http://gemaweek.com/post/7313783147/episode5-rabl
Optimistic Locking with MongoDB
Over on the Highgroove blog, I talk about optimistic locking with MongoDB and mongo_mapper.
Quoted Labels: A Reasonable Ruby Syntax Change
I’ve proposed a new, small syntax change for Ruby: quoted labels. Hear me out.
Instant Rails dev environments with Tmuxinator and Foreman
How to start an entire development environment with a single command
BorderPatrol: KML border checking in Ruby
Square just released a gem they’ve been using internally to do geodata analysis. Check out the blog post for more details.
stamp: Date and time formatting for humans
Format dates and times based on human-friendly examples, not arcane strftime directives, with stamp. [more inside]
RESTful API with Sinatra at DakarLUG
Coding party at DakarLUG (Linux User Group) and RESTful API with sinatra here ! . I will put the slide on my slideshare.
Setting up Rubygems.org proxy on local server
Running bundle install and waiting and waiting is obviously painful for many developers. To ease this pain, it took some time and blogged about it for future reference.
THE BETTER WAY TO ORDER BY RAND in scope
ORDER by RAND() in MySQL is super slow. Jan Kneschke had wrote a article ORDER BY RAND() 3 years ago.This article explains a lot about his alternative ORDER BY RAND solution [more inside]
rails_best_practices 0.9.0 & 0.10.0 released
I have released rails_best_practices 0.9.0 and 0.10.0, adding “remove empty helpers” and “remove tab” checks, check out the gem here.
The results for Codebrawl's RSpec formatter contest are in!
Codebrawl’s first contest just ended. We asked the contestants to build a formatter for the RSpec testing library and we got some fun entries. Check out the contest rundown to find out who won!
Creating your own Ascii art app
I just launched a post on how to create your own Ascii Art app using the evented architecture.
Have a customizable sidebar menu in Rails3
I just launched a post. First time writing an article about Rails.
Factory Girl's new look
Factory Girl release candidates were cut this week. There’s a great-looking new syntax and many new conveniences.
Ruby Kickstart - free course with videos, quizzes, & challenges
Ruby Kickstart, is a course with videos, quizzes, & challenges to learn Ruby. There are six sessions where we progress from the basics all the way through putting a web application on the internet. Each session has an associated video where I walk through the material for my friends (my friends and I went through RKS this summer, I recorded the sessions, they’re available on the website) Plus a FREE bonus video where I talk about recursion! Each session has an associated quiz that you can take on the website.
Forme: New form library for ruby
I just released a new HTML forms library called Forme. It has no external dependencies, a friendly API and DSL, and integrates nicely with Sinatra and Sequel.
Picking the right number as quickly as possible
Just finished a post detailing how I used the Binary search algorithm in ruby to find a specific number quickly over a range of possible values. Feel free to offer comments or suggestions to the algorithm.
Mida v0.3.0 A Microdata parser/extractor library
This release has better facilities for describing a vocabulary and finally adds Bundler support. More information is available in the release news and on the Mida project page.
My ruby adventure starts...
My ruby adventure has began… I am traveling across the USA attending ruby meetups. Check out the review of the San Francisco Ruby on Rails Group.