I have a database table named applications which (in Rails convention)
produces model named Application in file app/models/application.rb. The
application.rb file doesn’t seem to be loaded as I get a ‘const_missing’
error when trying to access it. If I handcraft the class within
script/console, everything works fine.
Is there something in the Rails loader that doesn’t load
app/models/application.rb, perhaps to limit conflict with
app/controllers/application.rb?
Thanks,
-Worky