set default values to ActiveRecord models