similar to: [Authlogic]

Displaying 20 results from an estimated 500 matches similar to: "[Authlogic]"

2009 Sep 09
3
[Rspec] Using Mocha results in uninitialized constant, using a 'fix' breaks RSpec output
After installation of Mocha (0.9.7), running "script/spec spec" results in a "`const_missing'': uninitialized constant Test::Unit::TestResult::TestResultFailureSupport (NameError)" error. (As shown here; http://codepad.org/mTqztjwt ) I''m running Ruby 1.8.6 with Rails 2.3.4 on Windows, rspec (-rails) 1.2.8 (1.2.7.1), Test::Unit 2.0.3 As suggested roughly on
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 =>
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
2010 Nov 14
5
Authlogic and rails 3 : NameError in User sessionsController#new
Hi everybody, I''ve installed Authlogic on Rails 3 following the Railscast (http:// railscasts.com/episodes/160-authlogic), and the resources I was able to find on the web, but I''m facing a problem. Once I''ve generated the user_sessions controller and mapped the login and logout routes, I get an error if I try to load the login page : uninitialized constant
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
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,
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 Oct 30
3
Authlogic not active
Trying to add authlogic in a simple project but get the error; Showing app/views/layouts/application.html.erb where line #33 raised: undefined method `underscore'' for nil:NilClass Extracted source (around line #33): 30: <div id="mainleft"> 31: <ul class="menu"> 32: <li><%= nav_link "Home", "site", "index"
2010 Jul 15
2
Authlogic admin user functionality
I am using authlogic as a authentication engine in my rails app. I have two types of users 1) Users who are registered and has access to there own profile. 2) Admin user who has access to everybody''s profile In the user table i have a :is_admin field boolean field which defines the admin user. like the current_user method, Is there a way authlogic provides which can tell me if the
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: <!--
2003 Jun 13
1
trouble with ssl
hi list, first of all, many thanks to the developers of dovecot for this great piece of software! i'm running dovecot 0.99.9.1 on netbsd-current - runs very fine until i try to use sylpheed from my client to connect via ssl: --snip-- Jun 13 08:48:32 devbox imap-login: SSL_accept() failed: error:1408F455:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac [192.168.100.88] Jun 13
2010 May 06
7
Facebook, authlogic, and OAuth2
Has anyone gotten started with getting the OAuth2 replacement for Facebook Connect working with auth_logic? I know there is an OAuth2 gem (http://intridea.com/2010/4/22/oauth2- gem-just-in-time-for-facebook-graph?blog=company), and I''m thinking of using that to integrate. Anyone know when the Fb Connect API will be shut down? -- You received this message because you are subscribed to
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 Oct 27
14
Authlogic Password confirmation is too short Error. NEED HELP.
Hi: I am using authlogic, and following railscast tutorial. I am running into this error code with the password confirmation. authlogic password confirmation is too short Has anyone experienced this error? I need your help. Thanks in advance for your help.
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 =>
2010 Jul 28
1
paperclip, authlogic and callback issue
I use authlogic for authentication and paperclip for handling user''s profile picture attachments. I use the following method to get the current_user def current_user_session return @current_user_session if defined? (@current_user_session) @current_user_session = UserSession.find end def current_user return @current_user if defined?(@current_user)
2009 Nov 17
2
rake db:seed with authlogic fails to populate users
I have a db/seeds.rb file that I want to load, but while the rest of the seeds file works fine, nothing is ever populated in :users. I just fails silently, so I can''t figure out what exactly is causing the problem. I have authlogic installed into the user.rb model with acts_as_authentic. I''m sure that''s part of the problem, but I''m not sure that manually
2010 May 25
2
Rails 2.3.6 and Authlogic 2.1.4 or 2.1.3
In the test environment, logging out and back in is not working for me. The log for the first login looks like this: Processing UserSessionsController#create (for 127.0.0.1 at 2010-05-24 19:53:57) [POST] Parameters: {"user_session"=>{"remember_me"=>"true", "password"=>"[FILTERED]", "login"=>"test"},