While running a unit-test I get load-errors in 1.2.1 like this
one, while my link.rb file does contain the Link-class. Anyone
else having this same problem ?
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:250:in
`load_missing_constant': Expected
/home/wybo/logilogi/trunk/config/../app/models/link.rb to define Link
(LoadError)
Wybo Wiersma wrote:
While running a unit-test I get load-errors in 1.2.1 like this
one, while my link.rb file does contain the Link-class. Anyone
else having this same problem ?
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/dependencies.rb:250:in
`load_missing_constant': Expected
/home/wybo/logilogi/trunk/config/../app/models/link.rb to define Link
(LoadError)
Yes,
I'm having this problems with many classes, including:
The exception notifier plugin, a controller created using
script/generate, and several others.... HELP PLEASE!!!!
Andrew
> `load_missing_constant': Expected
> /home/wybo/logilogi/trunk/config/../app/models/link.rb to define Link
> (LoadError)
Yes,
I'm having this problems with many classes, including:
The exception notifier plugin, a controller created using
script/generate, and several others.... HELP PLEASE!!!!
In my case they disappeared after I removed the Engines-plugin.
Still there was quite a bit refactoring to do, especially as Rails 1.2
is more strict on :null => false restrictions on the db (which is
good, I was already wondering what they were good for in 1.1.6), and
such, but it's now working with 1.2.
Wybo
I went back to 1.2.0 RC2 and don’t have this problem anymore.
rake rails:freeze:edge TAG=rel_1-2-0_RC2
Steven