Class: Comfy::Cms::Fragment
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Comfy::Cms::Fragment
- Defined in:
- app/models/comfy/cms/fragment.rb
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
Instance Method Summary collapse
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files.
11 12 13 |
# File 'app/models/comfy/cms/fragment.rb', line 11 def files @files end |
Instance Method Details
#file_ids_destroy=(ids) ⇒ Object
39 40 41 42 |
# File 'app/models/comfy/cms/fragment.rb', line 39 def file_ids_destroy=(ids) @file_ids_destroy = [ids].flatten.compact content_will_change! if @file_ids_destroy.present? end |