#56 ✓resolved
Chris A.

NoMethodError in User sessionsController#new

Reported by Chris A. | March 19th, 2009 @ 05:10 AM

While following your basic tutorial for Authlogic (which I'm very excited to use) I have run into this problem:

NoMethodError in User sessionsController#new

undefined method acts_as_authentic_config' for #<Class:0x7f2d6bd8>

One guy mentioned this same problem in the comments on the tutorial page, but he got no replies.

Any ideas? Am I doing something totally wrong? I'm pretty new to Ruby and Rails so I'm still getting used to a lot of things, but this seems so straight forward.


Here is my environment: (I'm using thin, but i get the same error with Mongrel, in case it makes a difference) $ rails -v Rails 2.2.2

$ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin]

$ uname -a CYGWIN_NT-6.0 MicroMachine 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

$ thin -v thin 1.0.0 codename That's What She Said

Here is the application trace

/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1833:in method_missing' /usr/lib/ruby/gems/1.8/gems/authlogic-1.4.3/lib/authlogic/session/config.rb:156:inlogin_field' /usr/lib/ruby/gems/1.8/gems/authlogic-1.4.3/lib/authlogic/session/config.rb:365:in login_field' /usr/lib/ruby/gems/1.8/gems/authlogic-1.4.3/lib/authlogic/session/base.rb:374:increate_configurable_methods!' /usr/lib/ruby/gems/1.8/gems/authlogic-1.4.3/lib/authlogic/session/base.rb:119:in initialize_without_scopes' /usr/lib/ruby/gems/1.8/gems/authlogic-1.4.3/lib/authlogic/session/scopes.rb:81:ininitialize' app/controllers/user_sessions_controller.rb:3:in new' app/controllers/user_sessions_controller.rb:3:innew' /usr/bin/thin:19:in load' /usr/bin/thin:19

Comments and changes to this ticket

  • Ben Johnson

    Ben Johnson March 23rd, 2009 @ 03:09 AM

    • State changed from “new” to “open”

    Can you try updating. I released v2.0 and it could potentially solve this problem. Regardless, rails has had some caching issues in the past, and they've made a ton of changes. It sounds like a caching problem to me. I can't tell you how many times people have sent me this error to find out it has nothing to do with Authlogic.

    Also, in the future, your best bet would be to make a post on the google group, you might get more help there.

  • Chris A.

    Chris A. March 23rd, 2009 @ 12:56 PM

    Will do, thanks. Thanks for the tip also! I'll check out the google group.

  • Ben Johnson

    Ben Johnson March 23rd, 2009 @ 01:47 PM

    • State changed from “open” to “resolved”
  • tarvap

    tarvap April 9th, 2019 @ 11:12 AM

    Tickets and all items have been identified for the individuals. It has been assured with assignment writing service australia options for the individuals. All the challenges have been ensured for the flow of the items for the candidates.

  • AndreasJack

    AndreasJack December 18th, 2019 @ 06:25 AM

    NoMethodError occurs when you don't install it properly in your PC but it can only be fixed when you update the software but if your software is not updating then you can reinstall it to remove this error mostly, students face this error when they are making their CV format with the help of this software but they can also use the platform of Resume-Writing-Services where many professional writers are present to help these students and they can easily make the CV without any trouble.

  • rosstaylor505

    rosstaylor505 January 2nd, 2020 @ 01:38 AM

    wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated.

  • rosstaylor505

    rosstaylor505 January 9th, 2020 @ 01:35 AM

    Hey, great blog, but I don’t understand how to add your site in my reader. Can you Help me please?

  • rosstaylor505

    rosstaylor505 January 29th, 2020 @ 06:29 AM

    I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

  • Allenwood

    Allenwood June 30th, 2020 @ 01:59 AM

    Once you establish your grip on Dumpsleader’s CompTIA CompTIA Security+ SY0-501 Practice Test PDF, the real exam questions will be a piece of cake for you. Each important section of the syllabus has been given due place in the SY0-501 dumps.

  • jhonaddison

    jhonaddison August 11th, 2020 @ 09:29 PM

    The most major benefit of having a renowned certification on your resume is that your employers welcome you with warm hearts. But, as these certifications are getting famous they are getting very hard to pass. We have a perfect solution for you if you are willing to get a certification such as SAP Certified Application Associate. Examcollection is offering 100% guaranteed SAP Certified Application Associate - SAP SuccessFactors Employee Central Q4 / 2019 Practice Exam Dumps to pass SAP exam in flying colors. Our experts have made sure to include all key concepts and topics to C_THR81_1911 Practice Exam Questions. Also, we keep track of any new update on the exam, so we can bring you up-to-date C_THR81_1911 Examcollection.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket