Includes tutorials and tips to develop with the framework. By a core team member .
Link: m.onkey.org
Rack is a framework to roll your own ruby framework. Rack provides an interface between different web servers and your framework/application. Making it very simple for your framework/application to be compatible with any webserver that supports Rack – Phusion Passenger, Litespeed, Mon...
Active Record batch processing in parallel processes Published almost 2 years ago Active Record provides find_each for batch processing of large number of records. However, when you are dealing with REALLY larger number of records ( I’m talking millions here ), find_each can become qu...
I was able to spend some time on a flight and at home to work on a very annoying performance pit associated with eager loading association’s instantiation code. So, with changeset 8051 , hopefully you should see some performance improvement with eagerloading associations with large da...
Here, I’d expect ruby to throw up with “private method `secret’ called for # (NoMethodError)” error. But it just leans over to method_missing() . That kinda makes sense, considering Ruby completely hides private methods and throws NoMethodError. But playing around with this a little m...
On my one of the current projects, there are two primary models each with a flag called approved_. 99% of the front end part deals with only approved items. Unapproved items are usually only in the admin panel side of the story. So I started with using a named
Bulk ALTER TABLE with Rails 3 and MySQL Published about 2 years ago With this commit , Rails migrations will support adding/removing/changing multiple columns via a single ALTER TABLE statement for MySQL. Let’s say you need to add 2 new columns to a table and modify data type of anoth...
has_many :bugs, :through => :rails Using ruby-debug with Pow Published over 1 year ago After moving to Sam Stephenson’s awesome Pow , not being able to use ruby-debug was the primary obstacle I had adjusting to my new development environment. But as it turns out, it’s very simple to u...
Let's start with wtf!? Published almost 5 years ago UPDATE : Check Ticket 8818 Welcome to my new blog :) Now over to rails.. So you’ve been told about using cute shortcuts for enumerator like Post.find(:all).map(&:title) – you feel great using it, don’t you ?? And you laughed at those...