rails collection_select should print my collection
<p>I got an error while trying to use collection_select ;) </p>

<p>I got this code in my view:</p>

<pre><code>&lt;%= f.collection_select(:channel, :channel_id, @channels, :id, :channelname, prompt: true) %&gt;
</code></pre>

<p>in my controller I have this:</p>

<pre><code>    @channels = Channel.all
</code></pre>

<p>and I got this error:</p>

<pre><code>undefined method `merge' for :channelname:Symbol
</code></pre>

<p>Whats my failure ?</p>

<p>Thanks at all!</p>