Class: Rkid::File

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
FastCreate
Defined in:
lib/rkid/models.rb

Class Method Summary collapse

Methods included from FastCreate

create, db

Class Method Details

.update(attributes) ⇒ Object



37
38
39
# File 'lib/rkid/models.rb', line 37

def self.update(attributes)
  find_by_name(attributes['name'])
end