Displaying 20 results from an estimated 4000 matches similar to: "Authlogic and Authlogic-OID Question"
2011 Apr 06
2
Wish List: has_many :dependent => {}
I am after a nice way to disable (not destroy, delete nor nullify) all
associated records. I''m a hoarder, I don''t want to get rid of anything but I
want to stop records being visible.
I have a disabled boolean in my tables and if I disable the top record in
the association (say the association is 5-6 levels deep), I would like to
cleanly disable its children.
I''ve
2011 Dec 07
2
Question About Separation Of Concerns (ActiveRecord)
Hello,
I''m a bit stuck with where to put some method calls (separation of
responsibility) and although I''m trying to do it just simply now in the
models, I think my problem raises a bigger question about Fat Models. But
that''s another subject for another day.
Right now, I have ....
Event
has_many meetings
## has an a invitation_expiry date field.
def
2011 Mar 11
2
Problem with Redmine
I am having a problem getting Redmine to run with Oracle (11.2) backend.
I get this error (below) because Oracle table names are limited to 30
characters. Does anyone around here know of a fix or workaround? I''m
wondering if I can simple change the table name, or if that will break
the application.
When doing a db migrate to an Oracle db this creates the error below.
I''m so
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 =>
2007 Oct 05
1
Which LDAP OID for iphones
Hello,
I'm new to LDAP.
I've read Device class exists (oid 2.5.6.14) in rfc2256.
I've heard a Pluggable Device sub-class (a device with a MAC address) also
exists though I can't find its OID at the moment.
1. Does any standard class specifically defines IP Phones or SIP hardphones
or ATAs or Trunk lines ? What's their OID ?
2. How does one can find by himself if such classes
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
2004 Jun 09
0
Change OpenLdap to Oracle OID
Any know if i can migrate Samba Users And computers account?s from OpenLdap to OID and use OID with Samba???
Regards
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
2005 Jun 30
2
Using OID as Samba3 backend
Hi, colleagues,
I'm running samba3 Using OID (Oracle Internet Directory) as backend, almost works ok, but the final trick that doesn't work is the change of the passwords from windows dialog box, this change the samba passwords but don't change the userpassword, i have found this line on samba logs files:
ldap password change requested, but LDAP server does not support it --
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"
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
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
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 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 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
2010 Dec 20
0
Server won't start on using authlogic-oauth2
I have included oauth2 and authlogic-oauth2 in the gemfile as I want to
use them and am trying to start the server. It doesn''t start and gives
me the error
/Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails.rb:44:in
`configuration'': undefined method `config'' for nil:NilClass
(NoMethodError)
from
2009 Jul 06
1
authlogic and updateing a user without changing password
Hi,
I created a new Rails app with authlogic to handle authentication and
what have you. In my admin section I''d like to change only the state of
users. The problem is that when I submit the form, I get the following
error: Password can''t be blank
How to tell authlogic to not care about this error? Is it possible to
provide te à-la restful_auth option :allow_blank => true ?
2012 May 07
0
Authlogic Single Access Token-Web Service Iphone app
Hi all
I am working on Rails 2 application where i need to provide
web services for iphone app.
I am using authlogic gem for authentication.For web services i am
using single access token(user_credentials="XXXXXXXXX").
Every thing is working fine except session[:something] for API
call.This session variable is not working for API call.This session
variable is not