I am using .select to assign a "line_id" to an "instance". The class "Instance" belongs_to "Line".
<%= line_builder.select('instance', 'line.line_id', Line.all.collect {|p| [p.title, p.id ]}, { :include_blank => 'select line' }) %>
this line returns this error:
undefined method `merge' for #<Array:0x007fc3c389e868>
Not quite sure whats going wrong here, but i'm assuming it's the syntax of the .select method because i've never used it before.
What else can I show you to help me figure this out?