I meet a strange problem. I have a table name is application. So I have to use Application as the model class name. But it reports error. If I put the model class into my special module and require the file in controller, it works. But I find that all predefined methods in Active Record are no longer effective, such as validate and so on. Can you please give me some idea on this problem? Thanks .
on 2006-03-22 22:50
on 2006-03-23 03:22
This list is for discussion of the development of engines plugin - it sounds like your issue is to do with Rails in general, rather than the plugin, and therefore you may get a better response (from a wider audience) if you post this to the correct list. That said, I can imagine that Rails won't like you having a model called Application, since it would reside in a file called application.rb, which clashes with the ApplicationController file. You may simply have to choose a different name for your model... - james On 3/22/06, Oliver P <firstname.lastname@example.org> wrote: > _______________________________________________ > engine-developers mailing list > email@example.com > http://lists.rails-engines.org/listinfo.cgi/engine... > -- * J * ~