Displaying 1 result from an estimated 1 matches for "attachment_config".
2007 Sep 18
2
Making attachment_fu polymorphic
...o your users. Also,
Attachment_kung has not yet been
## tested for use with Attachment_fu''s database or s3 strorage.
This software comes with no warranty,
## expressed or implied.
#############################################################################################
@@attachment_config = []
@@validates_as_attachment = nil
# adds methods to the class that is mixing the module in
def self.append_features(someClass)
@@klass = someClass
def someClass.has_polymorphic_attachment(config)
@@attachment_config = config
end
def someClass.validates_as_polymo...