11155
(-- --)
September 13, 2010, 5:48pm
21
Paul Mr wrote:
Rick R wrote:
thats what Im betting on.
Pretty much.. that one creates all the models/scaffolds/controllers the
usual way...not even caring about Authlogic::Session::Base
though I assume possibly, manually editing the one item to reflect that
instead of activerecord (or whatever it was).
Jeffrey
(Jeffrey)
September 14, 2010, 4:06am
22
Quoting Paul Mr <lists@ruby-forum.com>:
Paul Mr wrote:
> Rick R wrote:
>
> thats what Im betting on.
Pretty much.. that one creates all the models/scaffolds/controllers the
usual way...not even caring about Authlogic::Session::Base
though I assume possibly, manually editing the one item to reflect that
instead of activerecord (or whatever it was).
--
IIRC, AuthLogic works w/ Rails 3, but doesn't have the new generator
structure. Generate it in Rail 2.x and copy the files over.
Jeffrey
11155
(-- --)
December 23, 2010, 12:55pm
23
I think you should add the following line in your gem file:
gem "rails3-generators"
It is required to add your required generators
UP4B LLC
http://up4b.com
11155
(-- --)
November 20, 2012, 2:37pm
24
Up 4. wrote in post #970286:
I think you should add the following line in your gem file:
gem "rails3-generators"
run "bundle install" or "bundle update" and then run "rails g
authlogic:session UserSession" to create UserSession class
It is required to add your required generators (see
DIXIS authlogic on rails3 for more information)
UP4B LLC
http://up4b.com
GENIO UP_4!!!!!!.... LO QUE FALTABA ERA INDICARLE A RAILS QUE USARA EL
GENERATOR INTERNO DE LA GEMA authlogic.!!.. así funciona joya!!..
GRACIAS!!
11155
(-- --)
December 27, 2012, 7:39am
25
rails generate model user_session
This works fine for generating sessions in Authlogic for Rails 3 and
above versions.
11155
(-- --)
March 27, 2013, 10:02am
26
Please, Help Me!
I installed "Ruby On Rails -v 3.2.13" on Ubuntun 12.04 amd64 winth rvm.
Then I tried to install 'authlogic' from
https://github.com/binarylogic/authlogic
When I am trying generate model User_session, I get this error:
11155
(-- --)
March 27, 2013, 10:14am
27
I am sorry(((
This Plugin work for RoR 3.0, but It is not work for RoR 3.2(((
Nothing can be done?
greatghoul
(greatghoul)
March 27, 2013, 10:17am
28
Session will lost sometimes with no reason even if you create it successful.
So, go and use some other gems instead.
I think Devise is probably a better solution.
Colin
11155
(-- --)
March 27, 2013, 10:23am
30
Thank You!
I shall try to use 'devise'.
devise or sorcery, both good gems with different approaches.
devise has many more features
sorcery is more lightweight.
Worth investigating both.
what is sorcery?
You could google for
rails sorcery
to find out.
Colin