Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #10273 from prathamesh-sonpatki/AR-typos

Typo Fix in AR CHANGELOG [ci skip]
  • Loading branch information...
commit 7004f100a1fe5de46217e8293d139235229fdc56 2 parents a489bfe + 42df4b5
@fxn fxn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/CHANGELOG.md
View
4 activerecord/CHANGELOG.md
@@ -8,10 +8,10 @@
post = Post.select("'title' as post_title").first
In the above case when `post.body` is invoked then an exception is
- raised since `body` attribute is not selected. Howevere `respond_to?`
+ raised since `body` attribute is not selected. However `respond_to?`
did not behave correctly.
- pos.respond_to?(:body) #=> true
+ post.respond_to?(:body) #=> true
Reason was that Active Record calls `super` to pass the call to
Active Model and all the columns are defined on Active Model.
Please sign in to comment.
Something went wrong with that request. Please try again.