ruby on rails - Activerecord error .include? nil -


I am writing a rail app, in which there are some modules and methods loaded through Lib Libretti, I have also added trusted authentication modules, now every time I run using the mongrel server on production, I do not get this error, although because model classes and controller classes are cached, but in development I get this error , First place After that, I get the right treatment after development and running, but when I refresh the page, I get this error, whereas it shows that there is a need for a blue to be repeated in every method, I There are also some homework, as I said method, for all the methods of that example, for example, I do not have any method definitions such as ID, name, title for the table attributes Purchaser. I am unsure about this,

I am using Rails 2.2.2 and Ruby 1.8.7. Server mouth & amp; Webrick

This situation occurred to me, where I get the error after refresh (i.e. Second call).

It is possible that you have defined a module in your / lib directory that does not match the Rail Names of File Naming. And you're using the "filename.rb" statement to get the module.

Try using requires_dependency "filename.rb" instead.

Tell me if the problem still exists, then we can look deeply.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -