That's definitely an option (nice two-liner btw) but I'd rather not have to
do that in every app (I'm using JSONB columns more and more these days).
Since there's `attr_accessor` and `attr_reader`, is it not reasonable to
have `store_reader` alongside `store_accessor`?
On Friday, 4 August
Hello,
I'd like to propose this feature:
Like `attr_reader`, I'd like to see a `store_reader` AR class method which
adds store getter methods.
Why? Consider this:
class User < ActiveRecord::Base
store_accessor :data, :name
end
user = User.new(name: "John Doe", data: {fav_tv_show: "Twin