search for: no_company

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

Did you mean: to_company
2006 May 19
1
ActiveRecord: Minor saving problem
...@invite_user.save flash[:notice] = "User #{@invite_user.real_name} was successfully added to your company #{@invite_user.company_id}" else flash[:notice] = "Sorry, I couldn''t add this user to your company" end redirect_to :action => ''no_company'' end The flash message does tell me I have the right user in @invite_user and the displayed company_id is correct too, but the company_id is not saved in the database. Can anyone tell me what I am doing wrong here? Regards, Wijnand