search for: company_us

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

Did you mean: company's
2010 Jan 26
2
accepts_nested_attributes_for :has_many :through => 'bug?'
...ly doesn''t make sense considering its a has_many :relationship. So what i''m after, is a way to accept_nested_attributes_for :companies, so when my users sign up to the website, they can also create a company. -------------- user.rb class User < ActiveRecord::Base has_many :company_users has_many :companies, :through => :company_users accepts_nested_attributes_for :companies end -------------- company.rb class Company < ActiveRecord::Base has_many :company_users has_many :users, :through => :company_users end -------------- company_user.rb class CompanyUser...
2009 Apr 20
1
RJS sporadic error message
...u are responsible </b><br /> <hr width = "67%"> <div id = "travel-managers-users"> <%= render :partial => ''show_my_users'' %> </div> <hr width = "67%"> <br /> <div id = "company_users"> <%= render :partial => ''add_new_profile'' %> </div> </div> Partial - add_new_profile: <% form_remote_tag :url => {:action => ''add_profile_auto'', :id => @user.id }, :complete => "new Effect.Appear('...