search for: states_list

Displaying 1 result from an estimated 1 matches for "states_list".

Did you mean: slaves_list
2008 Mar 17
1
Help needed with collection_select
I''m trying to get a collection select list to work, but I''m getting this error: missing attribute: state_code The code is a select list for states. <%= collection_select(:states_code, :state, states.states_list, :state_code, :state)%> The above elements are as follows 1. table name (singular, full name is states_codes) 2. full name of state 3. select list that orders the states alphabetically (model and method) 4. state abbreviation for value 5. full name of state to display Can anyone help me fig...