aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/examples
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-11-20 11:22:38 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-11-20 11:22:38 +0000
commit427fb035a3d03b23e903ca499abf3c1bfa53b10a (patch)
tree3610839d6204b352c896b3c88cd1b19cb97d1c0f /activerecord/examples
parent6fc8e143c6aafa85c7b392f39a912f2545f23f8d (diff)
downloadrails-427fb035a3d03b23e903ca499abf3c1bfa53b10a.tar.gz
rails-427fb035a3d03b23e903ca499abf3c1bfa53b10a.tar.bz2
rails-427fb035a3d03b23e903ca499abf3c1bfa53b10a.zip
Simplify query_attribute by typecasting the attribute value and checking whether it's nil, false, zero or blank. Closes #6659.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/examples')
0 files changed, 0 insertions, 0 deletions