HI

Perhaps it is the most simple doubt that i am asking you all. I am really
new to rails.

I haven't understood much about collection_select.

I have posts and author tables.

I want the authors in posts.

I need a combobox to populate all the authors name

How can i do this with collection_select?

*collection_select*(object, method, collection, value_method, text_method,
options = {}, html_options = {})

How should i implement this in my application?

Please explain me clearly so that i can proceed forward.

Thanks in advance


Regards,
Learner.

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