[Rails-core] New feature suggestion: ActiveRecord store_reader

2017-08-02 Thread zubin
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

Re: [Rails-core] Break out testing library from ActiveSupport?

2017-08-02 Thread Matt Jones
> On Jul 25, 2017, at 4:00 PM, Jaco Pretorius wrote: > On Thursday, January 9, 2014 at 4:08:34 PM UTC-5, Steve Klabnik wrote: > Minitest is already in the standard library, so you're not really > adding or removing any meaningful dependence. > I just found this thread