NoamB/sorcery — Issue #144: brute force protection module fails on ruby 1.8.x
Author: PetriWessman
Created: 2011-11-04 08:50:21+00:00
State: open

The brute force protection module uses ruby 1.9 syntax, and fails on 1.8.x.

/opt/ecolane/ruby/lib/ruby/gems/1.8/gems/sorcery-0.7.4/lib/sorcery/model.rb:44:in `const_get': /opt/ecolane/ruby/lib/ruby/gems/1.8/gems/sorcery-0.7.4/lib/sorcery/model/submodules/brute_force_protection.rb:66: syntax error, unexpected ':', expecting ')' (SyntaxError)
self.save!(validate: false)
^