# Collection\_Select

**URL:** <https://www.ruby-forum.com/t/collection-select/175990>\
**Category:** Rails\
**Created:** [September 23, 2009, 11:57am UTC](https://www.ruby-forum.com/t/collection-select/175990 "2009-09-23T11:57:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rails\_ROR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@Rails\_ROR](https://www.ruby-forum.com/u/Rails_ROR)\
**Post date:** [September 23, 2009, 11:57am UTC](https://www.ruby-forum.com/t/collection-select/175990/1 "2009-09-23T11:57:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Rails\_ROR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@Rails\_ROR](https://www.ruby-forum.com/u/Rails_ROR)\
**Post date:** [September 23, 2009, 3:02pm UTC](https://www.ruby-forum.com/t/collection-select/175990/2 "2009-09-23T15:02:09Z")

</div>

Rails ROR wrote:

> HI

> Please explain me clearly so that i can proceed forward.
> 
> Thanks in advance

_Sigh_

> **[LMGTFY - Let Me Google That For You](https://www.lmgtfy.app/?q=rails%2Bcollection_select)**
>
> For all those people who find it more convenient to bother you with their question rather than to Google it for themselves.
