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

[ci skip] Keep method's description/documentation consistent. And Little #16156

Merged
merged 1 commit into from
Jul 14, 2014

Conversation

mechanicles
Copy link
Contributor

bit doc code improvement.

@@ -23,7 +23,7 @@ module ActiveModel
# attr_reader :errors
#
# def validate!
# errors.add(:name, "cannot be nil") if name == nil
# errors.add(:name, "cannot be nil") if name.nil?
Copy link
Member

Choose a reason for hiding this comment

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

This is the only change I'd keep from this patch

@mechanicles
Copy link
Contributor Author

@zzak I have updated the code, please check. Removed unwanted things.

@zzak
Copy link
Member

zzak commented Jul 14, 2014

@mechanicles Thanks!

zzak pushed a commit that referenced this pull request Jul 14, 2014
[ci skip] Improve documentation consistency for ActiveModel::Errors
@zzak zzak merged commit 2fc8239 into rails:master Jul 14, 2014
@mechanicles mechanicles deleted the document-improvement branch July 14, 2014 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants