Class: Stratagem::Instrumentation::Models::Authentication::Authlogic::Detect
- Defined in:
- lib/stratagem/instrumentation/models/authentication/authlogic/detect.rb
Class Method Summary collapse
Class Method Details
.supports?(model) ⇒ Boolean
3 4 5 6 7 8 9 10 |
# File 'lib/stratagem/instrumentation/models/authentication/authlogic/detect.rb', line 3 def self.supports?(model) begin # puts "AUTHLOGIC MODEL #{model.name} - #{model.ancestors.include?(::Authlogic::ActsAsAuthentic::MagicColumns::Methods)}" model.ancestors.include?(::Authlogic::ActsAsAuthentic::MagicColumns::Methods) rescue false end end |