authlogic: Rails 3 + scoping by subdomain error

Lets imagine Account model which has subdomain field and UserSession model which handles authentication. Acocunt model has “authenticates_many :user_sessions” in it.

Now I try to create new @user_session: @user_session = @current_account.user_sessions.new and I get: “undefined method `delete_if’ for #Proc:0x55529b8”

I can provide more detailed report if necessary.

About this issue

  • Original URL
  • State: closed
  • Created 14 years ago
  • Comments: 18

Most upvoted comments

@osaris You’ve been pinging aimlessly for years, I think it’s time to move on or write your own fix 😉