Closed jeffse closed 8 years ago
@jeffse In the future, create a feature branch before making changes for a PR.
$ git checkout -b my-new-feature
So you can fetch/merge from upstream if you need to rebase or create more PRs.
Rubocop is failing: "use normalcase for variable numbers" https://github.com/bbatsov/rubocop/blob/af0bc67e6e5a75f8a850c5fbf640d0f08bc3078d/lib/rubocop/cop/style/variable_number.rb
It's unrelated to this PR so we'll have to fix this in master.
Thanks for the tip. Usually for small commits I haven't bothered creating a branch, but I can do so for future commits.
157 Making the
error_for
method inform_builder
public.Moving the return statement up at the beginning of the method. No sense in calculating the class_name if there are no errors for the attribute.