yehudakatz.com

Rails 2.3 has a ton of really nice functionality locked up in monolithic components. I’ve posted quite a bit...

apidock.com

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...