Hi list.
I know that it is currently hard to override anything in the model
classes of an Engine. What about the following:
Engines includes the file RAILS_ROOT/app/components/engine_models.rb
after the last model require. In this file, you can have code like:
class MyModel
has_many :foo
end
So you can mix in code there.
Would this work, James?
Regards,
Manuel
_______________________________________________
engine-developers mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org