Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • 2015 in Review

    Monthly Summary January Started work on a solo project at work that pretty much gave me lots of experience building something from end to end. Working from home 2/3rds of the time to work out any kinks for a possible move to Florida. Thank yous going out to people who helped fund Emily’s medical mission…

    December 31, 2015
  • Rails 4, phantom ArgumentError: wrong number of arguments (0 for 1) on UserSession.find for AuthLogic

    This was a total pain to locate, as the exceptions being raised were pointed to UserSession.find in Authlogic::Session::Persistence. gems in question: activerecord-session_store 0.1.1 authlogic 3.4.6 activerecord 4.2.3 rails 4.2.3 I noticed that the only meaningful difference between the two environments was the following instance variable in Rails.application.config: irb> pp Rails.application.config . . . @logger= #…

    September 24, 2015
  • Pundit: NoMethodError (undefined method `verify_authorized’ for [WhateversController])

    Pundit: NoMethodError (undefined method `verify_authorized’ for [WhateversController])

    Sometimes, having done things several times before can make you miss the OBVIOUS. After adding after_action :verify_authorized to my ApplicationController to verify that Pundit was being used for authorization, I got the following error in rspec: 2) Jobs GET /jobs works! (now write some real specs) Failure/Error: get jobs_path NoMethodError: undefined method `verify_authorized’ for #…

    July 31, 2015
←Previous Page
1 … 56 57 58 59 60 … 314
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress