Capistrano recipes for database backups before migrations, passenger deployment strategy, release tagging in Git repos.
The idea behind scrooge is both surprisingly simple and powerful: instead of forcing the developer to manually specify each attribute...
A rails plugin to store a collection of boolean attributes in a single ActiveRecord column as a bit field.
Rails 2.3 has a ton of really nice functionality locked up in monolithic components. I’ve posted quite a bit...
All ActiveRecord associations except for has_many :through support callbacks for pre- and post-insertion/deletion via the following, self...
Just assign the existing attachment to another record: new_photo = Photo.new new_photo.image = old_photo.image Paperclip will duplicate the file when saving...