I have run into a problem with 1.1 that I just ran into. I have
component model thats in a namespace that references a regular model
News::Event #under componets/news/event.rb
belongs_to :state #where state.rb is just under app/models
when I go to try and reference this I get an ‘unitialized constant
State’ error. My guess is that its looking for News::State instead of
just State. I tried adding :class_name => “State” to the relationship,
but that doesn’t do anything.
Any suggestions? This was working before 1.1.