search for: user_level

Displaying 2 results from an estimated 2 matches for "user_level".

2006 Jun 16
0
Getting error on a group select
..., :type_name, :code_name, :display_name, @user.level) %> </select> The error message I''m getting is this: uninitialized constant ASSOCIATION_OPTIONS Extracted source (around line #23): 20: --> 21: <select name="user[level]" id="user_level"> 22: <%= 23: option_groups_from_collection_for_select(ASSOCIATION_OPTIONS, 24: :options, :type_name, 25: :code_name, :display_name, 26: @user.level) My question: Didn''t I initialize ASSOCIATION_OPTIONS in the helper? What did I do wr...
2006 Jun 16
0
Getting an error on options_groups_from_collection_for_select
...N_OPTIONS, :options, :type_name, :code_name, :display_name, @user.association) %> </select> The error message I''m getting is this: uninitialized constant ASSOCIATION_OPTIONS Extracted source (around line #23): 20: --> 21: <select name="user[level]" id="user_level"> 22: <%= 23: option_groups_from_collection_for_select(ASSOCIATION_OPTIONS, 24: :options, :type_name, 25: :code_name, :display_name, 26: @user.level) My question: Didn''t I initialize ASSOCIATION_OPTIONS in the helper? What did I do wr...