Ruby on Rails Monday, June 28, 2010

ssmithstone wrote:
> change
>
> <!-- <%= collection_select(:book,:subject_id,@subjects,:id,:name) %></
> p>
>> -->
>
> to <%#= collection_select(:book,:subject_id,@subjects,:id,:name) %>


thanks for all . thanks rajeev and hassan and michael.
thanks MicahelPavling, santosh, axelsef and ssmithstone.

special thanks to michael, santosh and ssmithstone, I commented those
two lines as per your explanation as ruby evaluates them first before
generating the html and it works fine.


thanks again!

-radha

--
Posted via http://www.ruby-forum.com/.

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

No comments:

Post a Comment