ruby on rails - Allow only the registration form -
how can create method navigate visitors registration path before (s)he signs in or signs up?
use before_filter on controllers ensure users signed in, default action of redirect registration if not.
there gem called devise useful authentication , worth effort of learning it.
another place go http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
this give excellent grounding in rails
Comments
Post a Comment