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] Fix an object of reference #19483

Merged
merged 1 commit into from
Mar 29, 2015
Merged

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Mar 24, 2015

Comment has reference to an article, or Command has a comment of an article.
In this context reference should be highlighted.

@@ -1510,7 +1510,7 @@ comments on articles.

We're going to see the same generator that we used before when creating
the `Article` model. This time we'll create a `Comment` model to hold
reference of article comments. Run this command in your terminal:
reference to an article. Run this command in your terminal:
Copy link
Member

Choose a reason for hiding this comment

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

I think I like better the way it was before.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In rails guide about associations, I think reference has special meaning. reference is equivalent to belongs_to. So I feel

Comment model to hold reference of article comments

means Comment model belongs_to article comments.

If this sentence means that creating Comment model to persist article comments, maybe it is better to write that ... create a Comment model to hold article comments.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's fine to say reference here. For me the use of the word reference here isn't special (no backticks), but sets up the reference coming in migration nicely.

Copy link
Member

Choose a reason for hiding this comment

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

LGTM

@senny senny added the docs label Mar 24, 2015
zzak pushed a commit that referenced this pull request Mar 29, 2015
[ci skip] Fix an object of `reference`
@zzak zzak merged commit e8a334a into rails:master Mar 29, 2015
@yui-knk yui-knk deleted the fix/getting_started branch March 29, 2015 23:48
@yui-knk
Copy link
Contributor Author

yui-knk commented Mar 29, 2015

thanks for your review ❤️

yui-knk added a commit to yasslab/railsguides.jp that referenced this pull request Mar 30, 2015
Fix original docs via rails/rails#19483 :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants