Method: Appfirst::Collection#create!

Defined in:
lib/appfirst/collection.rb

#create!(*args) ⇒ Object



15
16
17
18
# File 'lib/appfirst/collection.rb', line 15

def create!(*args)
  model = self.new(*args)
  model.save!
end