James Adam wrote:
> The solution I'd suggest, and that I've tried to present in the login
> and user engines, is not actually putting any code into model classes
> directly. Instead, create modules which can then be included into
> model classes. To override the User class in the login engine, you
> only have to create a user.rb in your /app/models directory, and
> ensure that it has the line "include
> 'LoginEngine::AuthenticatedUser'". To override any methods defined in
> the module, just redefine them in your class.
> 
> Hope this makes it a bit clearer.

A lot - thanks. Hopefully this info makes it back to the wiki as well...

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-developers mailing list
[EMAIL PROTECTED]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org

Reply via email to