search for: teammember

Displaying 3 results from an estimated 3 matches for "teammember".

Did you mean: teammembers
2010 Nov 11
2
Rails 3 - Nested Forms, using Builder -- Check_box issue
Hello, I have the following: My Controller: def new . . @teammembers.each do |teammember| request = @request_thread.requests.build(:recipient_id => teammember.user_id, :full_name => ''Billy Bob T'') end My View: . . <%= f.fields_for :requests do |builder| %> <div class="field"> <%= builder.l...
2006 Mar 20
3
Linking two HTML SELECT''s together
Hi, How do I link two HTML SELECT''s together. Let''s say for example that I have a drop-down list with a list of all countries. Once the user selects one of the countries I would like to make an AJAX call back to the server to populate the second drop-down list with all of the cities for that country. Any ideas on how to go about to do this? Regards Jerrie Pelser --
2006 May 10
7
has_many :through scope on join attribute
Hi I have a has_many :through. It''s a basic mapping of Project id .... User id .... TeamMembers project_id user_id role What I would like to do is have different roles so I can have in the project model has_many :core_members, :through => :team_members, :source => :user but I would like to limit this to only those with the "core" role in the team members table for this pr...