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

Popular posts from this blog

python - cx_oracle unable to find Oracle Client -

shader - OpenGL Shadow Map -

c# - Exchange 2010/2013 TransportAgent Content Conversion for Internal Recipients -