On Wed, Sep 16, 2009 at 2:05 PM, RubyonRails_newbie
<[email protected]> wrote:
> I am running through the RailsSpace tutorial. I'm trying to figure out
> the advanced login section, which in short creates a cookie and an
> authorization token in the users table in the database.
>
> My trouble is, I'm getting error: Wrong number of arguments (0 for 1)
>
> the code that has been updated is as follows:
>
> In ApplicationController:
>
> before_filter :check_authorization

What does the signature of this check_authorization method look like?
Seems it's expecting an argument you're not sending.


-- 
Greg Donald
http://destiney.com/

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to