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.