Module: UploadifyRails::Models::Parent::ClassMethods
- Defined in:
- lib/uploadify_rails/models/parent.rb
Instance Method Summary collapse
Instance Method Details
#uploadify_nested_parent(options = {}) ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/uploadify_rails/models/parent.rb', line 12 def uploadify_nested_parent( = {}) class_attribute :uploadify_options self. = { # Only one relation in this version! :relations => ([:relations] || [:photos]), } unless included_modules.include? InstanceMethods include InstanceMethods end end |