Displaying 20 results from an estimated 97 matches for "restful_authentication".
2008 Dec 11
2
restful_authentication errors
...seems to work at first, but then it reports:
" The name ''SessionsHelper'' is either already used in your application
or reserved by Ruby on Rails. Please choose an alternative and run
this generator again "
I''ve heard that having both acts_as_authenticated and
restful_authentication installed at the same time can cause this
error, but that''s not the case with my app.
I just started a new app and installed only the restful_authentication
plugin.
Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed...
2008 Mar 14
1
how do I get a older version of restful_authentication
I''m currently running rails 1.2.6 and I''ve got the new
restful_authentication running, unfortunately, the new version of the
plugin does not support the older rails very well.
how can I get an older version of restful_authentication (pre rails
2.0.2)?
I''m getting this error:
undefined method `authenticate_with_http_basic'' when I put
"include Authen...
2007 Dec 30
1
restful_authentication plugin + session timeout + single login session?
Hi,
I am using restful authentication plugin
1) I was wondering if there is a way to do a session timeout using the
restful_authentication.
How do I hack it to get the behaviour I need?
2) On top of that, I may need to ensure that a particular user can
only login from a single PC. If the user is already logged in at a PC
and attempts to login from another PC, the session in which he signs
in on the first PC will auto log out.
Agai...
2008 Jan 17
0
It seems to be a restful_authentication bug (was Re: Re: named route new_session not working)
...end
>
>
> rake routes:
>
> new_session GET /session/new {:action=>"new",
> :controller=>"sessions"}
>
> Seems like it should work. Am I missing something?
Ahh, information.
Okay, this definitely looks like a bug in the restful_authentication plugin.
Look at the first comment here:
http://agilewebdevelopment.com/plugins/restful_authentication
This seems to have been introduced lately, the last time I used
restful_authentication it generated
redirect_to :controller => ''/session'', :action => ''ne...
2008 Sep 08
2
Restful Authentication and State Machine state transfer question
I''m adding some code to a project using restful_authentication and
acts_as_statemachine
In the create method for a user there is the following code generated
by the restful_authentication template
@user.regster! if user.valid?
And this will save and the user record if it is valid. I understand
that the statemachine will then change the state from passive to...
2007 Aug 04
2
Modifying the restful_authentication plugin / Classes creating instances of themselves.
Hi,
I''m trying to modify the restful_authentication plugin so that it
first authenticates against LDAP (Active Directory), if successful, it
tries to find a matching user with the same username in the database,
through a model ''user''. If it finds a user, it updates a last_login
attribute; if it doesn''t find one, it creates...
2007 Dec 16
2
restful_authentication: update of users' attributes on every page load upon 'Remember me' being enabled?
Hello there,
I just noticed a kinda weird thing: if users log in with the ''Remember
Me'' option enabled, their records in the db get updated everytime the
user reloads a page, because apparently restful_authentication''s code
updates the remember_token_expires_at & remember_token attributes for
each page load (not only once on the actual login (from cookie).
Wouldn''t it make much more sense to set this remember_token_expires_at
and the corresponding token once only and that''s it? O...
2007 Aug 21
2
using restful_authentication current_user inside controller specs
I''m using restful_authentication in my app and I have the before filters in
my application rhtml:
before_filter :login_required
around_filter :set_timezone
around_filter :catch_errors
Currently I have them commented out while rspec''in but I''ll need to add them
in my specs.
def create
@ticket = Ticket.n...
2006 Aug 30
0
Anyone using "restful_authentication"
I had installed acts_as_authenticated and once that was working good
and felt I understood it I went ahead and tried
restful_authentication. Page says it''s based on AAA. I see some of
the functionality is not included though such as the activation code.
Can I just write it in myself ?
TIA Stuart
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups &...
2007 Nov 12
1
help debugging ActionMailer with restful_authentication?
In a nutshell, I''m using restful_authentication that emails the user
when they sign up for an account
The development.log file shows the body of the e-mail message being
prepped to send out, but doesn''t show confirmation that it made it.
When I use gmail''s SMTP server, a Rails exception is thrown because
gmail expects an encr...
2012 Feb 21
0
Scoped_views in rails2.3.5 with restful_authentication
I am using rails 2.3.5 and restful_authentication plugin.
User model is inherited by visitor, spotter and subscriber.
How to implement scoped_views for different user(visitor, spotter and
subscriber) registration.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this g...
2008 Sep 12
1
restful_authentication rspec failures "Mysql::Error: Incorrect datetime value:"
...databases and edit database.yml
git init
git submodule add git://github.com/dchelimsky/rspec.git vendor/plugins/
rspec
git submodule add git://github.com/dchelimsky/rspec-rails.git vendor/
plugins/rspec-rails
git submodule add git://github.com/technoweenie/restful-authentication.git
vendor/plugins/restful_authentication
git submodule init
git submodule update
ruby script/generate rspec
ruby script/generate rspec_scaffold blog title:string content:text
rake db:migrate
rake spec # 37 examples, 0 failures
git add .
git commit -a -m "blog with passing rspec tests"
ruby ./script/generate authenticated User...
2007 May 23
3
User Login (process_login)
Hiya - before I start let me tell you i''m a Nuby on Rails.
I''ve created a user registration within my application that requires
email validation and that seems to be working fine.
I''m now creating the user login page and have the following code in my
UsersController:
def login
@user = User.new
@user.username = params[:username]
end
def
2008 Aug 25
1
Error message when installing restful_authentication from github
Anybody know if I''m doing something stupidly wrong here?
$ script/plugin install git://github.com/technoweenie/restful-authentication.git
removing: /Users/jcohen/dev/rest_with_rails/theater_login/vendor/
plugins/restful-authentication/.git
Initialized empty Git repository in /Users/jcohen/dev/rest_with_rails/
theater_login/vendor/plugins/restful-authentication/.git/
remote: Counting
2009 Jan 09
14
undefined local variable or method `current_user' for
Hi All, I am using a Plugin mdarby-restful_acl with
restful_authentication and I am following the procedure form
http://github.com/mdarby/restful_acl/tree/master , but I am getting some
irritating error "undefined local variable or method `current_user'' for", I
know I am missing something but I dont know what?
Can anybody help me regarding this?
Shahro...
2009 Jan 16
5
Help: OpenId and restful_acl
Hi All,
I have restful_authentication with restful_acl installed on my
app, now I want to use OpenId with restful_acl,so my question is... does
this make any problems for me or not? I haven''t explored the OpenId for ROR
yet, and I am going to do that now,but I just wan
--~--~---------~--~----~------------~-------~--~----~
You...
2011 Feb 22
2
Problem installing restfull authentication
hi
trying to use restfull authentication, but getting the folloing error
script/plugin install
http://github.com/technoweenie/restful-authentication.gitrestful_authentication
Plugin not found: ["
http://github.com/technoweenie/restful-authentication.git",
"restful_authentication"]
can someone help please
thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group...
2008 Sep 18
1
user_observer (restful_authentication) causes failure in loading rails
I have restful_authentication in use on an app and it has been working
fine, but I recently was changing the account creation flow and needed
to enable the UserObserver. I did so by including it in the
environment.rb (config.active_record.observers = :user_observer) and
Rails wouldn''t start.
I got the following error...
2007 Oct 18
4
Mocking models provided in Rails plugins
Hey folks,
How do I mock a model that is given to me by a Rails plugin? I''m
trying to mock Session from the restful_authentication plugin but I
get a number of errors telling me RSpec doesn''t recognize Session.
NameError in ''SessionsController handling GET /sessions/new should be
successful''
uninitialized constant Session
An example of my usage:
before do
@session = mock_model(Session)...
2007 Oct 26
2
Examples of writing controller specs that use authentication
Hello,
I''m working on specs for a controller that handles authentication
using the restful_authentication plugin. I''m trying to find a
resource (tutorial or examples, if possible) about the best way to go
about writing mocks and specs to make sure that things like my
before_filters are working correctly. Does anyone know of any good
resources for this?
Thanks,
Les