Displaying 1 result from an estimated 1 matches for "known_ip".
2011 Aug 17
7
autoloading LoadError: Expected known_ip.rb to define KnownIp
...in Rails'' opinion
did not match with the name of the class defined inside, but eventually
everything worked, so i didn''t look into details.
This time the problem comes from running Unit Tests 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,
(othe...