#37 ✓resolved
inkedmn

undefined method `acts_as_authentic_config'

Reported by inkedmn | February 10th, 2009 @ 02:54 AM

Installed authlogic version 1.4.1 via ruby gems about 4 days ago, ran through the basic setup (located here), and when I visit http://localhost:3000/user_sessi..., I get the above error.

I'm not sure what other information you need, other than the various version numbers, so here they are:

Ruby: 1.8.6 Rails: 2.2.2 Authlogic: 1.4.1 Gem: 1.3.1

I've copied the accompanying trace into a text file and attached it, but please let me know if you'd like it another way.

This is my first actual ruby/rails project, so it's entirely possible that I've made a rather glaring mistake, so please do let me know if this is a PEBKAC error :)

Thanks!

Comments and changes to this ticket

  • Ben Johnson

    Ben Johnson February 11th, 2009 @ 02:50 AM

    • State changed from “new” to “open”

    I have been getting reports of this error and all of them have been caused due to something unrelated to authlogic. One guy deleted the resource_controller plugin and everything worked again. Another forgot to run the "rake rails:update" command after updating rails. This really seems like a caching issue. Can you config that you are getting this error in the console?

    Maybe try doing:

    User.acts_as_authentic_config

    Try that in your console and see if that works. If so, then its definitely a caching error.

  • inkedmn

    inkedmn February 14th, 2009 @ 01:48 AM

    I get the error in the console as well, I'm afraid:

    Loading development environment (Rails 2.2.2)

    User.acts_as_authentic_config NoMethodError: undefined method acts_as_authentic_config' for #<Class:0x20b6f10>

    from /Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1833:in `method_missing'
    from (irb):1
    
    

    Anything else I can try?

  • Ben Johnson

    Ben Johnson February 14th, 2009 @ 03:35 AM

    • State changed from “open” to “resolved”

    This really is an error unrelated to authlogic. What's causing it is a caching problem, acts_as_authentic is not being executed for some reason. I have a very high traffic application using rails 2.2.2 / authlogic and it works just fine. I wish I could help more but the rails caching has changed so much I have no idea how it works anymore.

  • ronin-47418 (at lighthouseapp)

    ronin-47418 (at lighthouseapp) February 14th, 2009 @ 09:39 AM

    • Tag set to config, configuration, initializers

    inkedmn:

    I've had this problem too. Not sure if this'll work for you, but once I created a file in the config/initializers directory (I called it auth.rb), it worked.

    UserSession.configure do |config|

    config.disable_magic_states = true
    # ...
    
    

    end

    See top of: http://authlogic.rubyforge.org/c...

    Then again, this might not work for you because I was able to run User.acts_as_authentic_config in the console.

    Ben, this is such an awesome gem. Thanks for creating it.

  • mastmead

    mastmead February 27th, 2010 @ 08:20 PM

    I had a similar problem with acts_as_authentic being undefined when attempting to create a new user. After many hours, my solution was to simply reboot the web server. It all works fine now!

  • Kevin Kohrt

    Kevin Kohrt August 29th, 2010 @ 01:00 PM

    • Milestone order changed from “0” to “0”

    Bizarre. I had the same problem. I added require 'authlogic' right after the config block in environment.rb, and the config/initializers/auth.rb trick ronin mentioned, and that worked in my staging environment, but not in the production environment running on the same box (different rails app and db, though).

    I am using memcached, though, and the production instance is much more likely to have user objects stored away somewhere at a given time, if caching truly is an issue.

    Still, I'd recommend the require and auth.rb as a start.

    Here is my gem list if that triggers any ideas. I should probably prune older gems....

    actionmailer (2.3.8, 2.3.5, 2.3.4)
    actionpack (2.3.8, 2.3.5, 2.3.4)
    activerecord (2.3.8, 2.3.5, 2.3.4)
    activeresource (2.3.8, 2.3.5, 2.3.4)
    activesupport (2.3.8, 2.3.5, 2.3.4)
    authlogic (2.1.3, 2.1.2)
    builder (2.1.2)
    cancan (1.1.1)
    capistrano (2.5.14, 2.5.9)
    cucumber (0.6.2, 0.3.104)
    devise (1.0.7, 1.0.6)
    devise_invitable (0.2.2)
    diff-lcs (1.1.2)
    faker (0.3.1)
    fastthread (1.0.7)
    highline (1.5.2, 1.5.1)
    json_pure (1.2.0)
    memcache-client (1.7.7)
    net-scp (1.0.2)
    net-sftp (2.0.4, 2.0.2)
    net-ssh (2.0.19, 2.0.15)
    net-ssh-gateway (1.0.1)
    newrelic_rpm (2.10.5, 2.9.9)
    nokogiri (1.4.1, 1.3.3)
    passenger (2.2.9, 2.2.5)
    pickle (0.2.11)
    polyglot (0.2.9)
    postgres (0.7.9.2008.01.28)
    rack (1.1.0, 1.0.1, 1.0.0)
    rack-test (0.5.3)
    rails (2.3.8, 2.3.5, 2.3.4)
    rake (0.8.7)
    rdoc (2.4.3)
    rspec (1.3.0, 1.2.9)
    rspec-rails (1.3.2, 1.2.9)
    system_timer (1.0)
    term-ansicolor (1.0.4)
    treetop (1.4.3, 1.4.2)
    tzinfo (0.3.16, 0.3.15)
    warden (0.10.7)
    webrat (0.7.0, 0.5.3)
    will_paginate (2.3.12, 2.3.11, 2.2.2)

  • Ace baby
  • facato

    facato June 13th, 2019 @ 08:11 AM

    That I have sure form the information that will get others from the different of the newly making some details as well. Attachment of the rails projects as for the best essays au website we can’t be taken to be undefined accompanying ways.

  • minianna1234567

    minianna1234567 June 14th, 2019 @ 03:34 AM

    The information you shared is very helpful, thank you very much.
    stick rpg 2

  • Amelia McKeon

    Amelia McKeon July 1st, 2019 @ 03:03 AM

    Logics of the project and all material have been ensured for the advancement for the people. The advancement of the project and best dissertation help is termed for the people. The advancement is calculated for the movement of the flow of the elements for the groups of the society.

  • Stephanie Butler

    Stephanie Butler August 9th, 2019 @ 07:47 AM

    I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! Toronto Party Bus

  • Stephanie Butler

    Stephanie Butler August 20th, 2019 @ 07:16 AM

    Searching for the best sushi nyc or sushi delivery near me. Find sushi near me and sushi on amsterdam ave, harlem sushi or amsterdam sushi. Order sushi delivery with sushi nearby or sushi near me now.

  • Stephanie Butler

    Stephanie Butler August 22nd, 2019 @ 07:01 AM

    Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. buyer reviews France

  • Stephanie Butler

    Stephanie Butler August 26th, 2019 @ 05:17 AM

    Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also basketball sure bets

  • Stephanie Butler

    Stephanie Butler August 27th, 2019 @ 09:36 AM

    Nice blog, I will keep visiting this blog very often. tandremme

  • Stephanie Butler

    Stephanie Butler August 30th, 2019 @ 05:48 AM

    Fairly quickly the following unbelievable webpage will need to unquestionably turned into accepted in just most of the web log the majority, as a consequence of meticulous reports and also assessments or even reviews. wow classic powerleveling boost

  • Stephanie Butler

    Stephanie Butler August 30th, 2019 @ 07:30 AM

    That'sthe valid reason promoting for which you desirable investigation before craft creating. It could be potential to write down upgraded post utilizing this. Baby Products

  • Stephanie Butler

    Stephanie Butler September 6th, 2019 @ 06:50 AM

    Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging.. stucco services Inland Empire

  • Stephanie Butler

    Stephanie Butler September 12th, 2019 @ 09:08 AM

    I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. visit

  • Stephanie Butler

    Stephanie Butler September 14th, 2019 @ 04:35 AM

    Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing. concrete shuttering

  • Stephanie Butler

    Stephanie Butler September 14th, 2019 @ 08:31 AM

    Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing. NK-M magazine

  • buyinstagramfoloowersaustralia

    buyinstagramfoloowersaustralia September 16th, 2019 @ 09:01 AM

    Authlogic. Authlogic is a clean, simple, and unobtrusive ruby authentication solution. ... Authlogic OpenID addon: by followers australia

  • danish

    danish September 24th, 2019 @ 10:35 AM

    Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. situs judi online

  • martinguptal

    martinguptal October 11th, 2019 @ 09:03 AM

    I called to the concerned person within the office time but no one replied to me, I was shocked to see the total level of ignorance and pathetic behavior, I would be happy if you can contact me at 3mconference which is my official platform for students like you, I want to know who was the person on that day. Wishing you all the best dude.

  • StevenCook

    StevenCook October 16th, 2019 @ 04:06 AM

    Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. auto glass repair

  • uzairawan

    uzairawan October 16th, 2019 @ 07:27 PM

    You understand your projects stand out of the crowd. There is something unique about them. It seems to me all of them are brilliant. Erotische massage

  • jamefi

    jamefi October 19th, 2019 @ 09:09 AM

    Hey, this day is too much good for me, since this time I am reading this enormous informative article here at my home. Thanks a lot for massive hard work. High da SEO backlinks

  • uzair awan

    uzair awan October 20th, 2019 @ 08:17 AM

    This is really too a very great publishing all of us critically skilled searching via. It's not even close to every day we now have danger to look at something. Hearing aids China

  • uzairawan

    uzairawan October 21st, 2019 @ 11:03 AM

    Paulski Art is a U.S based & African Boutique Store Supplying Handmade and 100% Authentic Kuba Cloth Pillows, JuJu Hat, Tonga Basket/Binga Basket and Alternative African Wall Baskets. At Paulski Art, we Pride Ourselves with Craftsmanship and Customer Service. Shop African wall baskets african wall baskets

  • uzair awan

    uzair awan October 21st, 2019 @ 04:18 PM

    • Tag changed from config, configuration, initializers to seamless gutter company

    When i acquired in your weblog even though putting curiosity basically somewhat tiny bit submits. Pleasant way of long-term, I'm going to be book-marking at any time acquire kinds total arrives upwards. Seamless gutter company

  • martinguptal

    martinguptal October 30th, 2019 @ 01:35 PM

    There is a lot about coding but we are not familiar with this. There is no better place for you to take positive remarks about dao5conference.com today and earn some respectable source of stuff. We want to give you some quality information. Keep up the good work like this.

  • uzair awan

    uzair awan November 1st, 2019 @ 05:28 AM

    After i obtained on your blog although placing interest merely slightly little bit submits. Enjoyable technique for long term, I'll be book-marking at any given time obtain types complete comes upward. Buy Soundcloud Plays

  • uzair awan

    uzair awan November 1st, 2019 @ 06:30 AM

    Thanks for the blog post buddy! Keep them coming... farming simulator 2019 mods

  • uzair awan

    uzair awan November 4th, 2019 @ 03:40 AM

    I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. du học Nhật

  • uzair awan

    uzair awan November 7th, 2019 @ 03:24 AM

    Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading. điều kiện du học Nhật Bản

  • uzair awan

    uzair awan November 10th, 2019 @ 03:32 PM

    I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. tree professionals

  • martinguptal

    martinguptal November 13th, 2019 @ 09:26 PM

    The most common error we get from functions.php as it is a really important thing to consider if you are not a programmer. I must tell you clearly about my https://rankmyservice.com/ukessays-com/ page which has been ranked well online and this would bring a lot of traffic for you guys. I am impressed by your stuff and will request you to keep helping people like us who don't know the a,b,c of the computer languages.

  • Stephanie Butler

    Stephanie Butler November 18th, 2019 @ 02:40 AM

    Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! [url=https://www.theultimateherpesprotocolscam.com/]the ultimate herpes protocol[/url]

  • Stephanie Butler

    Stephanie Butler November 19th, 2019 @ 01:26 PM

    I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... seminar room rental singapore

  • Stephanie Butler

    Stephanie Butler November 21st, 2019 @ 02:30 AM

    I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. le mag

  • uzairawan

    uzairawan November 23rd, 2019 @ 09:14 AM

    Fantastic blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own website soon but I’m a little lost on everything. Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any suggestions? Many thanks! 정보이용료 현금화 수수료

  • uzairawan

    uzairawan November 27th, 2019 @ 01:14 AM

    Yes, I am entirely agreed with this article, and I just want say that this article is very helpful and enlightening. I also have some precious piece of concerned info !!!!!!Thanks. tin tuc marketing

  • Stephanie Butler

    Stephanie Butler November 28th, 2019 @ 02:01 AM

    I am always interested to change something in my house. Now I am thinking of kitchen remodeling boca raton, delray, west palm but I am not sure of it. I am actuall out of ideas to decorate it, please elp me out with it.

  • uzair awan

    uzair awan December 1st, 2019 @ 04:32 AM

    I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, im always look for people to check out my web site. palm tree trimming Jupiter FL

  • uzair awan

    uzair awan December 10th, 2019 @ 01:29 AM

    Thanks for picking out the time to discuss this, I feel great about it and love studying more on this topic. It is extremely helpful for me. Thanks for such a valuable help again. buy votes online

  • Stephanie Butler

    Stephanie Butler December 11th, 2019 @ 02:32 AM

    Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. software testing

  • Stephanie Butler

    Stephanie Butler December 11th, 2019 @ 02:36 AM

    I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. testing tool life cycle

  • Stephanie Butler

    Stephanie Butler December 15th, 2019 @ 04:39 AM

    For a while now I have been reading articles about cars and car parts. Recently I read a post about Aftermarket Wheels and I really liked the content there. It was very interesting and different from what I prefer to read.

  • uzair awan

    uzair awan December 15th, 2019 @ 12:27 PM

    • Tag changed from seamless gutter company to https:dewiqq.cc

    I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. https://dewiqq.cc/

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

Pages