On Sun, Jul 15, 2012 at 1:36 PM, Jeff <[email protected]> wrote:

> with redirect_to, and could use that by wrapping it in some sort of global
> check_if_signed_in function that I could call at the top of various
> controller methods.

See:  AbstractController::Callbacks::ClassMethods#before_filter

And it might help to look at the way existing gems implement auth;
see: https://www.ruby-toolbox.com/categories/rails_authentication

HTH,
-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
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-US.

Reply via email to