Method: Sohm::Model.create

Defined in:
lib/sohm.rb

.create(atts = {}) ⇒ Object

Create a new model, notice that under Sohm’s circumstances, this is no longer a syntactic sugar for Model.new(atts).save



900
901
902
# File 'lib/sohm.rb', line 900

def self.create(atts = {})
  new(atts).save
end