search for: user_associ

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

2006 Jun 16
0
Getting error on a group select
...ion.new("Sidekick Design", "Sidekick Design") co << Assoc.Option.new("Strategic Web Concepts", "Strategic Web Concepts") ASSOCIATION_OPTIONS = [ none, dr, co ] end My View looks like this: <select name="user[associationl]" id="user_association"> <%= option_groups_from_collection_for_select(ASSOCIATION_OPTIONS, :options, :type_name, :code_name, :display_name, @user.level) %> </select> The error message I''m getting is this: uninitialized constant ASSOCIATION_OP...
2006 Jun 16
0
Getting an error on options_groups_from_collection_for_select
...MPANIES") co << Assoc.Option.new("Company_1", "Company_1") co << Assoc.Option.new("Company_2", "Company_2") ASSOCIATION_OPTIONS = [ none, dr, co ] end My View looks like this: <select name="user[associationl]" id="user_association"> <%= option_groups_from_collection_for_select(ASSOCIATION_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 lin...