Hi,

I'd like to rewrite a plugin called paperclipped_assets that's based on
paperclip and provides a central model keeping all attachments.
Unfortunately I need to require the class Attachment.rb of paperclip in
paperclipped_assets, which results in the following error

uninitialized constant HasPaperclippedAsset::InstanceMethods::Attachment

Is there something like a plugin_require which I could use to make
paperclipped_assets know the paperclip classes? Or do I have to join the
plugins to achieve this?

Thanks for your help!

Best regards
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to