Rails3 on oracle: NoMethodError: undefined method `eq' for nil:NilClass
Donnerstag, 28. April 2011, 12:33 Uhr | roberto@vasquez-angel.de |When try to make simple queries against an oracle database on rails3 and you get following error:
irb(main):017:0> User.find(1) NoMethodError: undefined method `eq' for nil:NilClass
You may have entered the table name in your model in UPCASE. Change it to downcase, and it should work!