Skip to content

Fix "undefined method `acts_as_authentic_config'" error when using rake #3

@joost

Description

@joost

Replace following in lib/authlogic_oauth.rb. See:

if defined?(Authlogic) # Fixes "undefined method `acts_as_authentic_config'" error when using rake.
  ActiveRecord::Base.send(:include, AuthlogicOauth::ActsAsAuthentic)
  Authlogic::Session::Base.send(:include, AuthlogicOauth::Session)
  ActionController::Base.helper AuthlogicOauth::Helper
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions