thanks 

Le vendredi 9 novembre 2012 08:27:59 UTC+1, Erwin a écrit :
>
> 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 message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/t2EL2hvK22MJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to