# Re: Load errors in 1.2.1

**URL:** <https://www.ruby-forum.com/t/re-load-errors-in-1-2-1/82422>\
**Category:** Rails\
**Created:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/re-load-errors-in-1-2-1/82422 "2007-01-19T16:30:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wybo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/cc9497/32.png) [@wybo](https://www.ruby-forum.com/u/wybo)\
**Post date:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/re-load-errors-in-1-2-1/82422/1 "2007-01-19T16:30:20Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![wybo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/cc9497/32.png) [@wybo](https://www.ruby-forum.com/u/wybo)\
**Post date:** [January 19, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/re-load-errors-in-1-2-1/82422/2 "2007-01-19T16:51:07Z")

</div>

Wybo W. 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

---

<div class="post-metadata">

**Author:** ![wybo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/cc9497/32.png) [@wybo](https://www.ruby-forum.com/u/wybo)\
**Post date:** [January 21, 2007, 3:38am UTC](https://www.ruby-forum.com/t/re-load-errors-in-1-2-1/82422/3 "2007-01-21T03:38:02Z")

</div>

> > `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

> Andrew

–

:🧑‍🎓

- History, Informatiekunde (computer linguistics, IR, webtech) and  
Philosophy
- Member of the Center for Metahistory Groningen  
([Faculty of Arts | About us | University of Groningen](http://www.rug.nl/let/cmg))

::Free Software and Open Source Developer:

- [http://www.LogiLogi.org](http://www.LogiLogi.org), innovative system for cumulative, shared  
commenting,  
and idea sharing: Web for Philosophy…
- ComLinToo, a computational linguistics toolset written in Perl
- Lake ([LogiLogi.org](http://LogiLogi.org) Make), a make-replacement using makefiles in pure  
C++

::Being:

- In the world, go figure ([http://nl.logilogi.org/HomE/WyboWiersma](http://nl.logilogi.org/HomE/WyboWiersma))

---

<div class="post-metadata">

**Author:** ![wybo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/cc9497/32.png) [@wybo](https://www.ruby-forum.com/u/wybo)\
**Post date:** [January 28, 2007, 6:14am UTC](https://www.ruby-forum.com/t/re-load-errors-in-1-2-1/82422/4 "2007-01-28T06:14:23Z")

</div>

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

Steven S., CEO, FiveRuns  
[http://www.fiveruns.com](http://www.fiveruns.com)
