search for: restful_authent

Displaying 6 results from an estimated 6 matches for "restful_authent".

2007 Dec 30
6
Restful-Authentication Rspec Failure Rails 2.0.2
I am trying the Restful-Authentication (latest version, downloaded today) and upon running the generator, doing the migration, prepping the test system and putting the resources in routes.rb I get a Rspec test failure: ''SessionsController logins and redirects'' FAILED expected not nil, got nil routes.rb has: map.resources :users map.resources :sessions nothing else was
2009 Jun 10
3
Authenticity token error on Safari and IE6 on Windows
Hi, I cannot log in to my Rails application using Windows and Safari or IE6. Windows + Firefox works, and Safari or Firefox on Osx works also. What in hell is going wrong? I recently switched my app from restful_auth to authlogic, could that be the reason? I don''t remember having these authenticity errors before. Regards, -- Posted via http://www.ruby-forum.com/.
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 authenticate...
2009 Oct 14
6
Combining rails intrAnet and public site.
Hello, everyone! I was wondering if somebody has some insight on this issue. [h]A little background:[/h] I work for a midsize electronic manufacturing company with 2 people in IT dept - a network admin and a developer (me). We''ve been using rails to migrate from an old dBase and VB based system to build internal company IntrAnet that does things like label printing, invetory control,
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 ?
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