Displaying 2 results from an estimated 2 matches for "invite_us".
Did you mean:
invite_id
2006 May 19
1
ActiveRecord: Minor saving problem
...39;'s automatically a member of the company. A company
should be able to have multiple users off course so every member of a
company can add other users who don''t have a company yet. This last
step is what I am trying to implement now.
The function in the controller:
def invite
@invite_user=User.find(:first, :conditions => ["company_id = 0 AND
id = ?", params[:id]])
if @invite_user
@invite_user.company_id = @session[:user].company_id
@invite_user.save
flash[:notice] = "User #{@invite_user.real_name} was
successfully added to your company #{@in...
2008 Feb 01
2
proposed patch for fb_request_form_submit
Hi, according to the Facebook docs, you can add a uid to the
fb_request_form_submit button which will pre select the user for the
form.
So you can do:
<fb:request-form action="/my_tasks" method="POST" invite="true"
type="MyApp" content="wants to invite you to xyz app">
<fb:request-form-submit uid="FRIENDID" />