On Sunday, May 28, 2017 at 4:28:35 PM UTC-4, Chris Lerum wrote:
>
> try <%= f.collection_select( :artist, :genre_id, Genre.all, :id, :name) %>
>
> On Sunday, May 28, 2017 at 4:17:53 PM UTC-4, fugee ohu wrote:
>>
>> I wanna add a dropdown menu to my index view for the index action of my
>> artist
try <%= f.collection_select( :artist, :genre_id, Genre.all, :id, :name) %>
On Sunday, May 28, 2017 at 4:17:53 PM UTC-4, fugee ohu wrote:
>
> I wanna add a dropdown menu to my index view for the index action of my
> artists_controller Trying to use collection_select but it responds undefined
> me
2 matches
Mail list logo