Class: Item
- Inherits:
-
ItemApplicationRecord
- Object
- ActiveRecord::Base
- ItemApplicationRecord
- Item
- Includes:
- Restorable
- Defined in:
- lib/models/item.rb
Instance Method Summary collapse
Instance Method Details
#assign_from_profile(profile) ⇒ Object
13 14 15 |
# File 'lib/models/item.rb', line 13 def assign_from_profile(profile) self.profile_id = profile.id end |