2 Comments
I used to be a fan of the has_finder gem written by Nick Kallen.
Now with Rails 2.1, this functionnality is built-in so you don’t need to install the gem.
The named_scope method allows you to add finders to any model. A code snippet is worth 10000 words :
class Story < ActiveRecord::Base
named_scope :hilarious, :conditions => ["type […]
Being a Linux/Ubuntu user, i cannot use the praised Textmate editor to develop ruby applications. I tried a lot of editors, some of them being very good ones, but in the end I always end up using gedit.
gedit is great… but it is rather limited features-wise. Recently I have tried Komodo Edit and I can […]
I feel so weird. Maybe it’s just the side-effects of eating that old, pinky-brown colored and talking piece of raw meat that was sitting in the corner of my kitchen since a month or two… but as strange as it may sound, I think it’s something else.
I think it is something related to Rails that […]