You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like you have run rubocop --autocorrect to get the above syntax error. Then we have a bug in the Lambda cop that I think can be fixed by using the AutocorrectUnlessChangingAST module.
0.29.1 (using Parser 2.2.0.3, running on ruby 2.1.5 x86_64-darwin14.0)
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]
Happens in Rails 4-style association definition
Causes
SyntaxError
:The text was updated successfully, but these errors were encountered: