-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix SystemStackError with ActiveRecord #27
Conversation
ActiveRecord::Schema.define do | ||
self.verbose = false | ||
|
||
create_table :activerecord_users, :force => true do |t| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the new Ruby 1.9 hash syntax.
a2d02ff
to
79a7fed
Compare
Cleared up some Hound warnings – remaining ones are just following existing conventions. |
end | ||
rescue => e | ||
warn "#{$0}: #{e}" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace detected.
9776b3a
to
a829c9d
Compare
If you use the default `otp_counter` column name, InstanceMethodsOnActivation#otp_counter calls `otp_counter` resulting in a stack overflow.
a829c9d
to
4592b82
Compare
- Adds forked gem for temporary fix; see commit ref for details - Regenerates the secret and counter when enabled
Anything I can do to help get this merged? Cheers. |
@garethrees sorry for the delay, I'm going to take a look today |
@robertomiranda thanks, much appreciated! Feel free to get in touch if there's anything you need to clarify :) 🍻 |
Fixes #26
If you use the default
otp_counter
column name,InstanceMethodsOnActivation#otp_counter
callsotp_counter
resulting in a stack overflow.