NoamB/sorcery — Issue #130: Syntax error
Author: graycoder
Created: 2011-11-01 12:05:14+00:00
State: open

Tommorow I've run `bundle update` which updated sorcery and I got a syntax error message.

```
SyntaxError: /Users/gray/.rvm/gems/ree-1.8.7-2011.03/gems/sorcery-0.7.4/lib/sorcery/model/submodules/brute_force_protection.rb:66: syntax error, unexpected ':', expecting ')'
self.save!(validate: false)
^
/Users/gray/.rvm/gems/ree-1.8.7-2011.03/gems/sorcery-0.7.4/lib/sorcery/model/submodules/brute_force_protection.rb:73: syntax error, unexpected ':', expecting ')'
self.save!(validate: false)
^
/Users/gray/.rvm/gems/ree-1.8.7-2011.03/gems/sorcery-0.7.4/lib/sorcery/model/submodules/brute_force_protection.rb:94: syntax error, unexpected $end, expecting kEND
```

I think we need to replace

```self.save!(validate: false)```

to

```self.save!(validate => false)```

in
`lib/sorcery/model/submodules/brute_force_protection.rb#66`
and
`lib/sorcery/model/submodules/brute_force_protection.rb#73`

P.S.: I use ruby 1.8.7 Enterprise Edition on dev and production

thx