Re: [Rails] Re: commenting in new.erb template file
On Sun, Jun 27, 2010 at 5:26 AM, RailsFan Radha <lists@ruby-forum.com> wrote:
> here is the exact error message:
> You have a nil object when you didn't expect it!
> You might have expected an instance of Array.
>
> Extracted source (around line #14):
> 14: <!-- <%= collection_select(:book,:subject_id,@subjects,:id,:name)
Hint: where on line 14 do you see something that should be an Array?
And where is the value of that Array object being set in your code?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home