Chris
2006-Aug-24 11:47 UTC
[Rails] Re: How to extend some of my shared models used from a plugi
Just incase I wasn''t clear, the model must have the same name as the model it is extending :-)> I have models that I am sharing using a plugin. Sometimes i would like > to slightly alter some of the shared models for each application. > > I was under the impression i could just add contact.rb to my app/models > folder and add some methods to it. This doesn''t work, when i do this > the model in my plugins/example_plugin/lib is totally ignored. > > How do i do this? I am tearing my hair out trying to do it.-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---