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

Asking user to declare post resource in getting start guide #11127

Merged

Conversation

pftg
Copy link
Contributor

@pftg pftg commented Jun 26, 2013

Closes #11122

Changed getting start guide to ask to add resources :post into config/routes.rb

/cc @senny

@arunagw
Copy link
Member

arunagw commented Jun 26, 2013

Can you add [ci skip] in commit message also? And force push again?

@pftg
Copy link
Contributor Author

pftg commented Jun 26, 2013

@arunagw done

Rails provides a `resources` method which can be used to declare a
standard REST resource. Here's how `config/routes.rb` will look like.
Rails provides a `resources` method which can be used to declare a standard REST resource.
Here's how `config/routes.rb` should look like after _post resource_ is declared.
Copy link
Member

Choose a reason for hiding this comment

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

Something about this sentence sounds very strange to me, but I can't put my finger on it. Let's see what @fxn thinks.

Copy link
Contributor

Choose a reason for hiding this comment

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

It sounds better to me if you change "how" to "what" so it reads:

Here's what config/routes.rb should look like after the post resource is declared.

Copy link
Contributor

Choose a reason for hiding this comment

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

It was also missing a "the".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@alexrothenberg @davidcelis thanks, I have added fixes

@senny
Copy link
Member

senny commented Jun 27, 2013

@pftg can you please squash the commits?

@pftg
Copy link
Contributor Author

pftg commented Jun 27, 2013

@senny done!

senny added a commit that referenced this pull request Jun 27, 2013
…s_in_guide

Asking user to declare post resource in getting start guide
@senny senny merged commit ca81874 into rails:master Jun 27, 2013
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.

Error in the Getting Started Guide?
6 participants