Ohm::Default
Adds the ability to set default values to an Ohm Model
gem install ohm-default
class Model < Ohm::Model
include Ohm::Default
attribute :name
default :name, "Wolfgang"
end
Project
Adds the ability to set default values to an Ohm Model
gem install ohm-default
class Model < Ohm::Model
include Ohm::Default
attribute :name
default :name, "Wolfgang"
end