Ruby on Rails Sunday, June 4, 2017

On Sat, Jun 3, 2017 at 10:02 PM, fugee ohu <> wrote:
> I have clubs and festivals polymorphed as venues Now I wanna create a
> dropdown list in my form Not only will I have to pass the venue_id but also
> the venue_type How am I gonna do this?

See: ActionView::Helpers::FormOptionsHelper.collection_select()

Hassan Schroeder ------------------------
twitter: @hassan
Consulting Availability : Silicon Valley or remote

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment