On Nov 18, 2007, at 12:04 AM, Chris Olsen wrote:

> Steve Ross wrote:
>> Try with(nil)
>>
>> I think params[:user] will return nil.
>
> yip that works, after fooling with it I also found that :any_args  
> works
> as well as any (I guess this one is more than just a symbol)
>
> Thanks for the help.
>

I think :any_args is deprecated, and you should use any_args()  
instead (just FYI).

Glad you figured it out.

Scott



_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to