rails/rails — pull request #10843 by teeparham (2013-06-04 20:51:03+00:00)
Title: define boolean attribute method for store attribute accessors

Define `accessor_name?` method to make store attributes consistent with other AR attributes. For example:

class User < ActiveRecord::Base
store :settings, accessors: [:color]
end

user = User.new
user.color?
# => false