I installed authlogic and created a signup mechanism.And for creating a sign in mechanism I tried to generate the session controlers as below but rails 3 throws error as follows. How do I create the user_session and proceed with authlogic in rails 3 ?
:~/work_space/rails_apps/sample_authentication$ rails generate session user_session
Could not find generator session
as for the time being the generator for session still doesn't work with rails 3. However here
https://github.com/jonathandean/authlogic_example
the tutorial in the readme explains how to use authlogic (and generate a session-model) with rails 3. Basically all you have to do is to generate a normal model.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With