rails/rails — pull request #3535 by jmazzi (2011-11-06 02:39:25+00:00)
Title: Update ActiveRecord#attribute_present? to work as documented

RIght now attribute_present? returns false for "false" values. Since "false" is a value you can set in the db it should return true when it's set.

"Returns true if the specified attribute has been set by the user or by
a database load and is neither nil nor empty?"

Fixes #1613