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.
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.