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

Use Ruby on Rails Coding Conventions for code examples in the guides #12155

Merged
merged 1 commit into from
Sep 7, 2013

Conversation

pftg
Copy link
Contributor

@pftg pftg commented Sep 6, 2013

Checked for:

  • Indent after private/protected
  • Ruby >= 1.9 syntax for hashes
  • Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks.

* Indent after private/protected
* Ruby >= 1.9 syntax for hashes
* Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks.

[ci skip]
@steveklabnik
Copy link
Member

/cc @fxn

@fxn
Copy link
Member

fxn commented Sep 7, 2013

Awesome, thanks very much!

fxn added a commit that referenced this pull request Sep 7, 2013
Use Ruby on Rails Coding Conventions for code examples in the guides
@fxn fxn merged commit c989a18 into rails:master Sep 7, 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.

None yet

3 participants