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.
Padrino 0.10.0 Released!
The Padrino team just released 0.10.0 which includes major performance improvements (with benchmarks), Rubinius and JRuby Support, enhanced route filters and ordering, along with many compatibility and bug fixes. Read about this release on our blog entry for more details. This release is a serious step towards a 1.0 release as the Padrino API continues to stabilize and mature.
Customize your Ruby with ruby-patches
Want to mess around with an experimental features for Ruby? I’m putting together a GitHub repository for Ruby Patches. There’s a few in there for Ruby 1.9 and JRuby, so far - and submit your own with just a fork+pull request!
Routing to Rack Applications
As the Rails documentation is a bit lacking on this subject, I just posted about how to route to a rack application with a real example: Routing to Rack Applications
Building a Star Rating System with Rails and jQuery
I released a video last week demonstrating how to build a star rating system with Ruby on Rails and jQuery. It’s a simple system that uses the jQuery click() function to highlight stars and send an AJAX request to the Rails server to save the rating.
Slop 2.0, Option parsing made even easier
Your favourite Ruby option parser just hit 2.0! Slop is a lightweight option parser with an easy to use DSL. Slop adheres to the Semantic Versioning scheme, so 2.0 allowed me to alter some of the default configuration options you all wanted saner, this means deprecations and code moving forward. Check out the CHANGELOG and let me know what you think of Slop!
Ruby/Rails training this August in Manchester, UK
Short announcement about an in-person 3-day Ruby and Rails training course Me and Ric Roberts are running in Manchester, UK this summer. It’s in support of the MadLab hack space and is a bargain at £360!
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
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. Read more
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 Read more
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.
Building your own Hoptoad app clone with Errbit, VMware Cloud Foundry and MongoDB
I just posted a simple getting started tutorial with VMware Clound Foundry and MongoDB.
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.