Skip to content
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

ActiveModel typo fixes. #35104

Merged
merged 1 commit into from
Jan 30, 2019
Merged

ActiveModel typo fixes. #35104

merged 1 commit into from
Jan 30, 2019

Conversation

alkesh26
Copy link
Contributor

This PR includes:

  1. numericalty typo fix.
  2. Renamed variable microsec to microsecond and microsec_part to microsecond_part.
  3. changed nonnegative to non-negative

@@ -50,18 +50,18 @@ def user_input_in_time_zone(value)

private

def new_time(year, mon, mday, hour, min, sec, microsec, offset = nil)
def new_time(year, mon, mday, hour, min, sec, microsecond, offset = nil)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change isn’t worth it. The other variables would have to be renamed as well. But let’s keep the git history here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaspth reverted this change.

@kaspth kaspth merged commit e01e646 into rails:master Jan 30, 2019
@alkesh26 alkesh26 deleted the activemodel-typo-fixes branch February 18, 2019 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants