Whne I name my mysql table ‘equipment’ which is both singular and plural
I have problem when I try to create a auto complete text filled box.
Table name: equipment
Column name: description
I use the following code in my project:
auto_complete_for :equipment, :description
<%= text_field_with_auto_complete :equipment, :description %>
and I get this error:
undefined method `description’ for #Array:0x35541a8
This error only occues when i use this table name.