Module: GoldRecord::ActMethods
- Defined in:
- lib/gold_record/base.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_gold_record ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/gold_record/base.rb', line 36 def acts_as_gold_record extend ClassMethods class << self alias_method_chain :find_one, :uuid alias_method_chain :find_some, :uuid end include InstanceMethods before_create :generate_id! end |