We're really lost. I don't have clue where to look. We're still going 
through rails and engines code, but we just don't get it at this moment.

We're not modifying other models b.t.w., but if we don't use a init.rb 
at all it just works. A solution would be to put all the code in a lib 
and include
it in the appcontroller, but I don't think this is a elegant solution. 
Anyway I really want to understand why things are going wrong.

I'm going home, have a good night's sleep and have a look at it again 
tomorrow.

@James Adam, do you have any clue on what we're doing wrong ?

Kind regards,
Jeroen van Doorn


Tekin Suleyman schreef:
>>> I guess the neat fix would be to get engines to reload after each 
>>> request and not just in after_initialize()
>>>       
>
> Or to not modify another plugin's model in an init.rb!!
>
> _______________________________________________
> engine-users mailing list
> [email protected]
> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
>
>
>
>   

_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to