Ruby on Rails Friday, December 28, 2012

Dear All.

I use this code for my project,

<%= collection_select(:zone_id , :name, @zones, :id, :name,{},{:name=>'normalSelect'}) %>

with this. ruby on rails define default name and id.
Can i change default name to my custom name.

Regards,

D2M

--
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.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/1PfEwf5A3UkJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment