Displaying 20 results from an estimated 20000 matches similar to: "Multiple sessions & Authlogic"
2010 Jan 18
1
binarylogic-searchlogic ~> 2.0 binarylogic-authlogic mbleigh-subdomain_fu
I am having problem starting my app, here''s the error message, i am
running Ubuntu 9.04 with Apache with Passenger:
The application has exited during startup (i.e. during the evaluation
of config/environment.rb). The error message can be found below. To
solve this problem, please follow any instructions in the error
message.
Error message:
Missing these required gems:
2011 Feb 21
1
authlogic problem
I can''t get authlogic to work.
(https://github.com/binarylogic/authlogic)
i''ve installed it,
i''ve put the following in environment.rb:
config.gem "authlogic"
''gem list'' gives:
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.3, 2.0.2)
actionpack (3.0.3, 2.0.2)
activemodel (3.0.3)
activerecord (3.0.3, 2.0.2)
activeresource (3.0.3,
2009 Dec 23
0
Migration from the "Restful Authentication" to "Authlogic"
Hi,
I am using Authlogic for authentication.
Previously our application having a "Restful Authentication". We have
users who are created by using the "Restful Authentication".
My problem is these users will not able to login with Authlogic as the
password encryption methods are different for both and I am getting
"Password not valid" error.
So I searched for that and
2009 Dec 03
2
AuthLogic Question - one time password (persistence_token) - what config is required to use this???
Hi,
I''m stuck trying to work this one out - have been reviewing the
AuthLogic code base but having a hard time making sense of it (
http://github.com/binarylogic/authlogic ).
Question 1 - Can anyone confirm what config exactly is required to
make the one time password (persistence_token) work in AuthLogic? See
below for the bulk...
Question 2 - If not the full answer to the above,
2009 Dec 23
8
Where did this value in a form come from?
Newb here.
I have a form and a value that is being displayed ... and I have no idea
where the value came from.
I have done a
<%= debugger; '''' %>
in the form and, indeed, the debugger stops at the statement.
I have tried to trace through the code to see where the value came from
... and I gave up.
So ... what in Rails initializes the fields of a form?
--
Posted via
2009 Aug 24
1
Authlogic Forgot Password
Hi,
Has anyone implemented the Authlogic forgot password stuff?
Please let us know how to, if anyone has or has the code for it.
Thanks,
Pratik
2010 Dec 02
7
Rails 3 + Authlogic not working all of a sudden
Hey People,
I''ve been working on Rails 3.0.0 and Authlogic for quite a while now but
all of a sudden I can''t login into my application anymore.
After some research I found out that no sessions are stored into the db
anymore so I started the console and saw this:
ruby-1.9.2-p0 > u = UserSession.new({:username => ''Test'', :password =>
2010 Dec 15
2
skip password validation in authlogic
i am using authlogic for user authentication and authlogic-connect for
facebook and twitter signup.what i need is that i need to skip
validation on the password field if user is signup via facebook or
twitter.my environment is rails 3 and ruby 1.9.2.
i have acts_as_authentic in my user model.however i can skip phone
number validation like this
validates :phone_number, :numericality =>
2011 Jun 16
2
Authlogic: Trying to login in my Cucumber test - Authlogic::Session::Activation::NotActivatedError
In a Cucumber step definition, I''m trying to login, but I keep getting
this error:
You must activate the Authlogic::Session::Base.controller with a
controller object before creating objects
(Authlogic::Session::Activation::NotActivatedError)
My code:
Given /^I am the logged in (.+) "(.+)"$/ do |role, login|
user = User.create!(
:login => login,
:password =>
2012 Feb 21
2
API Authentication-Authlogic
Hi all
I am using Authlogic gem for authentication.I want an API
authentication for external API(XML) call.How to implement this in
authlogic .Thanks in advance...
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2010 Feb 05
1
Encrypting the password using Authlogic
Hi,
I am using "Authlogic" for user authentication.
I have a excel file into which I have user deatils. I have to migrate
those details to the "users" table. For that I have written a script
which goes through the excel file and store the data into "users" table.
My code is like this:-
user=User.new
user.password="password"
2010 Oct 21
4
Authlogic + Rails3 - undefined method `Login' for nil:NilClass
Im new to Rails, and decided to start of with Rails3. After a lot of
searching ive managed to get a little bit of Authlogic working. I''m able
to register a user, login & logout.
Now, I would like to add more features, get more of authlogic working.
I''m using Railscast EP 160 as my reference.
Portions of the code found on the tutorial throw errors: Eg:
<!--
2009 Dec 25
18
rescue_from ActionController::RoutingError II
OK ... so I''m not supposed to use it but ...
Why doesn''t rescue_from ActionController::RoutingError work witht he
code from
http://www.rubyplus.org/episodes/20-Extended-RESTful-Authentication-Rails-2-App.html
class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
# See ActionController::RequestForgeryProtection for details
2010 May 21
0
can authlogic be used for multiple models?
I want to use authlogic plugin for multiple models in my project. In
admin module of the project i am using administrator and
administrator_sessions and also on user module i am using user and
user_sessions models.
So i have a doubt ,whether can we use this authlogic plugin for
multiple models or not?
--
You received this message because you are subscribed to the Google Groups "Ruby on
2009 Nov 28
1
user management in ROR
Hi,
I am newbie for ROR and designing user management system, Which
includes all features including register , Profile of user , Profile
view of user, Inbox,Mails, .Please suugest some useful code links for
the same . and if you have any code for the same please help me. I
only create user registration system, Thanks in advance.
--
You received this message because you are subscribed to the
2009 Aug 02
13
NoMethodError in User sessionsController#create - Authlogic
Hi,
I''m beginner in rails, and I wanted to add to my simple application
Authlogic. So I''ve watched http://railscasts.com/episodes/160-authlogic
and step-by-step done everything. And almost everything works fine,
except login in. After registration new user is automatically logged in,
he can edit his profile, but after clicking logout and trying to login
again I get error
2011 Aug 22
0
Authlogic and Authlogic-OID Question
Hello,I was wondering if anyone was using these and if so, hopefully you
could explain something to me.
When User::create is called when using an open_id, User::create gets called
twice and the second call clears out the session.
The first call to User::create deletes a row from
open_id_authentication_associations and then inserts a new row into the same
table. It then sets up the request to
2010 Nov 15
0
Problem testing Authlogic UserSession
I''ve posted this to the Authlogic group but things seem a little quiet, so
perhaps someone here can help:
''m testing Authlogic 2.1.6, running under Rails 3.0.1., using rspec
2.1.0
I have the following:
user.rb
class User < ActiveRecord::Base
acts_as_authentic do |config|
config.login_field :email
config.ignore_blank_passwords false
2009 Sep 20
2
[Authlogic]
After I upgraded my Authlogic to 2.1.2 I''m facing an odd error when
trying to use my webpage; it comes up with an error ''undefined method
`^'' for "e":String''. I''ve double checked the lines in the Authlogic
code (see codepad urls for the tracelog), but I can find no trace of
any "^" in the code anywhere. The methods that result in
2009 Nov 14
3
authlogic fails on existing accounts when crypted_password is blank
I recently ran a migration to add the following to an existing user
model:
t.string "crypted_password"
t.string "password_salt"
t.string "persistence_token"
There is an existing (cleartext) password field, but authlogic doesn''t
seem to be reading that on existing accounts. As a result, all logins
for existing accounts fail.
How can I get