similar to: Help with error - uninitialized constant AuthenticatedSystem::Base64

Displaying 20 results from an estimated 900 matches similar to: "Help with error - uninitialized constant AuthenticatedSystem::Base64"

2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
Hi, I just installed Rails 2.0.2 [root@mymachine easyx]# ruby --version ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux] [root@mymachine easyrx]# gem install rails --include-dependencies Need to update 16 gems from http://gems.rubyforge.org ................ complete Successfully installed rails-2.0.2 [root@remandev easyrx]# But I''m getting this error in my restful_authentication
2009 Mar 18
0
uninitialized constant AuthenticatedSystem
I''ve just had a little snafu installing restful_authentication in a new app, and thought I would list it here for archival purposes. Firstly, there are messages about files not existing. My fix was to manually create lib and test/fixtures directories. (Remember, this is a brand new application.) Secondly, There were "uninitialized constant" messages re. AuthenticatedSystem.
2007 Feb 21
1
setting session data from a post
I''m using acts_as_authenticated, and I''m trying to run some tests where the user must be registered. In the past, I''ve just included a user id in the session data. def test_login_loads_from_post_session post :new, nil, { :user => 7 } session = assigns(:session) assert_equal 7, session[:user] end My assert statement seems to be failing because my session is
2008 Jul 12
1
Re: Re stful_authentication, Internet Explorer, and unwanted http basic dialog
I''m glad I found your post Joshua - it saved me quite a bit of time! To get this to work for me however (IE6), I had to ditch the ||= and do straight assignment: request.format = :html if request.env[''HTTP_USER_AGENT''] =~ /msie/i Joshua Doss wrote: > > > Alter access_denied to add this line (right below "def access_denied"): > >
2007 Oct 15
0
Fwd: Content filtered message notification
I''m not sure why mailman bounced your message (perhaps because you are not subscribed to the mailing list), but I''m glad you have solved your problem. Cheers, James. ---------- Forwarded message ---------- From: mailman-bounces at rubyforge.org <mailman-bounces at rubyforge.org> Date: 14 Oct 2007 17:21 Subject: Content filtered message notification To:
2008 Jul 16
0
A copy of AuthenticatedSystem has been removed from the module tree but is still active!
Hmm, this is a weird one. I just started up script/server today to get this error when browsing around. "A copy of AuthenticatedSystem has been removed from the module tree but is still active!" Any ideas? I''ve googled, but the results that show all seem to refer to Rails 1.* I don''t think I''ve changed anything that would affect this. I''m using
2008 Apr 10
7
Facebooker and existing website?
Hi I am trying to use facebooker with an existing website that already has a model named ''User''. I therefore created a model called BkUser for use with facebooker. Also I have different controllers for all facebook requests. I am using acts_as_authenticated for handling login etc for my website and everytime a user is logged into my facebook app and tries to also browse the
2007 Dec 23
1
multiple scenarios problem
Hi all I just recently started to use rspec and I''m having a problem using multple scenarios in one story. These are the two scenarios, trying to test my implemenation of the new http authentication in rails 2: Scenario "user has to authenticate" do Given "an anonymous user" do end When "visiting", "working_page" do |page|
2007 Jul 30
6
Object.stubs doesn''t seem to work.
Hi I''m using Mocha 0.5.3 and I want to stub out a call to Time.now, just like the example in the post http://blog.floehopper.org/articles/2007/06/08/mocha-0-5-released However, trying it in irb gets me the following error: >> require ''mocha'' => true >> Time.stubs(:now).returns(Time.parse(''Thu Feb 01 00:00:00 UTC 2007'')) NoMethodError:
2010 Jul 08
4
testing authentication with basic_auth
hi, I''ve got an api which is using authenticate_or_request_with_http_basic What are you guys using to test this? I''m using rspec, and before I was using rspec-rails, I was using authorize from Rack::Test to do the authentication. However, authorize clearly doesn''t work when using rspec-rails, so I''m wondering what everyone else is doing? -- You received this
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 one. The "remember me"
2008 Nov 06
0
Restore password without session initialized
Hi, Y was triying to implement in my application the fact of remenber or generate a new password. When you try to loggin in there, if the password is no correct, the application shows the link "Remenber password", having the route /users/remind. The problem is when a try to go to this link, appear an error like this: undefined local variable or method `new_session_path'' for
2008 Jan 17
0
It seems to be a restful_authentication bug (was Re: Re: named route new_session not working)
On 1/16/08, Jimmy Palmer <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > sorry for the ambiguity. I will work on being more descriptive. :) > > In the method access_denied in the file authenticated_system.rb from > restful athentication, it generates this: > > def access_denied > respond_to do |format| > format.html do >
2009 Jan 12
5
Restful Authentication Uninitialized Constant in Production...
rake db:migrate RAILS_ENV=production rake aborted! uninitialized constant User::Authentication The preceding I encounter when attempting to migrate to the production database. My google powers have escaped me. Everywhere says Restful Authentication is missing in the production server. However, to validate this, I attempted this on the same server as the development, which works. So, what
2007 Feb 28
4
acts_as_authenticated error with Object#id
I''m getting this when I run my Rails controller specs. <projectroot>/config/../lib/authenticated_system.rb:16: warning: Object#id will be deprecated; use Object#object_id I added "include AuthenticatedTestHelper" to /spec/spec_helper.rb so that my controller tests^H^H^H^H^Hspecs can use the "login_as" helper method. Anyone know how to fix this? -- Cheers,
2007 Nov 02
1
uninitialized constant ActAsAuthenticated
Hi, I followed the installation guide on http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated, but db:migrate fails: $ rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! uninitialized constant ActAsAuthenticated Tried to move include AuthenticatedSystem to ApplicationController,
2009 Dec 02
1
so RoR does not support http BASIC authentication out of the box? is this correct?
Hi, Just confirming, so RoR does not support http BASIC authentication out of the box? is this correct? thanks -- 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 unsubscribe from this group, send email to
2006 Jan 16
16
acts_as_authenticated current_user in a model?
What do I need to do to be able to use an acts_as_authenticated current_user in a model? Is there some sort of include or require I can do some where that would allow this? ********************************************************** Here is what I am trying to do: ********************************************************** class Setting < ActiveRecord::Base before_create :created_by_user #
2008 Sep 08
0
uninitialized constant error with restful authentication
I''m trying to set up restful authentication with Rails 2.1.0 on Mac OS X Leopard, and I had to comment out RAILS_GEM_VERSION in the environment file to install the plugin from technoweenie. Now I''m trying to follow along in a tuturial, and I''m stuck on this: 1. $ ruby script/generate scaffold Role rolename:string 2.
2006 Jul 03
0
Fwd: Models and Backgroundrb
Seems this mail did not make it to the list for some reason. It contains my solution for the problem with login_engine without having to load the whole Rails environment. Begin forwarded message: > From: G?nter Ladwig <gladwig at gmx.de> > Date: 22. Juni 2006 23:51:18 MESZ > To: backgroundrb-devel at rubyforge.org > Subject: Re: [Backgroundrb-devel] Models and Backgroundrb