On Mar 6, 9:35 am, "[email protected]" <[email protected]>
wrote:
> In my old app (rails 1.2.6) I was able to access variables via
>
> controller
> @courses = Course.find(:all)
>
> view file:
> <% for course in @courses %>
> <%= course.name %> <- this line works
> <%= course.semester.name %> <- this is now broke
> <%= course.semester.education.name %> <-this is now broken.
>
> When upgrading to rails 2.2.2 all this is broken.

In what way is it broken ? What happens ?

Fred
> What changed?
>
> I only changed the enviroment.rb to rails 2.2.2 and did rake
> rails:upgrade
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to