I\'m trying to find the best way to set default values for objects in Rails.
The best I can think of is to set the default value in the new method in
new
If you're talking about ActiveRecord objects, I use the 'attribute-defaults' gem.
Documentation & download: https://github.com/bsm/attribute-defaults