search for: frigten

Displaying 1 result from an estimated 1 matches for "frigten".

Did you mean: frighten
2006 May 02
3
''NameError: uninitialized constant <MyEntity>'' in console
...Rails console I get the error: >> b = Bar.new(:name => ''Some Bar'') NameError: uninitialized constant Bar from (irb):1 from :0 (My model class is called Bar, and is in file app/models/bar.rb) So, I try to load the model class file, and I run into a more frigtening error: >> load ''app/models/bar.rb'' NameError: uninitialized constant ActiveRecord from ./app/models/bar.rb:1 from (irb):3 from :0 I am using Rails 1.1.2 with Ruby 1.8.4 on Mac OS X 10.4 and MySQL 4.1.18. I get these errors only when I use the R...