search for: known_ips

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

Did you mean: known_ip
2011 Aug 17
7
autoloading LoadError: Expected known_ip.rb to define KnownIp
...s and does not want to go away. I have a model class KnownIP defined in a file named "known_ip.rb" (rather than "known_i_p.rb"). This file name was generated by the model generator, in i prefer it this way. In any case, the application works. The database table is called "known_ips". To my test_helper.rb i added set_fixture_class :known_ips => KnownIP, (otherwise it would guess "KnownIp"). Now, when it try to run Unit Tests, i get an error: LoadError: Expected .../known_ip.rb to define KnownIp. gems/activesupport-3.1.0.rc6/lib/active_support/dependenc...