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] Don't use TrueClass, FalseClass in docs #20760

Merged
merged 1 commit into from
Jul 2, 2015

Conversation

claudiob
Copy link
Member

@claudiob claudiob commented Jul 2, 2015

This sort of documentation style comes from 2009, probably due to the merging of merb (see 38b608e#diff-017d9bc9b1d2bdae199b938d72c15488R120).

Rails follows Ruby's convention to define which values are "truthy" or "falsey", so there is no need to specify that the returned value must strictly be a TrueClass or FalseClass.

/cc @fxn

This sort of documentation style comes from 2009, probably due to
the merging of merb (see rails@38b608e#diff-017d9bc9b1d2bdae199b938d72c15488R120).

Rails follows Ruby's convention to define which values are "truthy" or
"falsey", so there is no need to specify that the returned value must
strictly be a TrueClass or FalseClass. /cc @fxn
fxn added a commit that referenced this pull request Jul 2, 2015
[ci skip] Don't use TrueClass, FalseClass in docs
@fxn fxn merged commit bea7fee into rails:master Jul 2, 2015
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