Hi, I'm a rails_fan in korea.

As korean web site has a little information about rails
I'm tryig to ask google groups users of my question



<% for reserve in @plan.reserves %>

This line make error like this 'uninitialized constant Plan::Reserf'

I already have plan and reserve model
and I define their relationship.

plan
 has_many :reserves

reserve
 belongs_to :plan

why does this error happen?

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