Displaying 1 result from an estimated 1 matches for "sign_me".
Did you mean:
  sig_name
  
2012 Nov 09
8
method conditional option pattern
When I have this pattern 
       sign_me(@user, :event => :authentication, :subdomain => subdomain)
how can I write it to avoid sending the :subdomain option if subdomain.nil? 
  ( if possible ..)
       sign_me(@user, :event => :authentication  #?, :subdomain => 
subdomain unless subdomain.nil?  )
-- 
You received this mes...