search for: attachment_attributes_valid

Displaying 2 results from an estimated 2 matches for "attachment_attributes_valid".

2007 Aug 18
0
RSpec and acts_as_attachment
...hnoweenie/acts_as_attachment/ instance_methods.rb:154 :in `content_type'' vendor/plugins/acts_as_attachment/lib/technoweenie/acts_as_attachment/ instance_methods.rb:154 :in `send'' vendor/plugins/acts_as_attachment/lib/technoweenie/acts_as_attachment/ instance_methods.rb:154 :in `attachment_attributes_valid?'' vendor/plugins/acts_as_attachment/lib/technoweenie/acts_as_attachment/ instance_methods.rb:152 :in `each'' vendor/plugins/acts_as_attachment/lib/technoweenie/acts_as_attachment/ instance_methods.rb:152 :in `attachment_attributes_valid?'' ./spec/models/../spec_helper.rb:...
2007 Apr 27
3
attachment_fu content_type problem
Hi all.... Admittedly I''m new to Rails and trying to find my way but I''m having an issue with uploading documents with attachment_fu. I have a form where I''m uploading multiple attachments (using AJAX to add file_filed_tags). That seems to work pretty well. The problem is I can''t seem to get the content_type to work as I would expect. For example, if I use