Move `attributes_before_type_cast` to `AttributeSet`

Since this method is public and documented, I prefer the explicit
definition, rather than dicking around with RDoc.


On Sat, Jun 21, 2014 at 12:48 PM, Eugene Gilburg <notifications@github.com>
wrote:

> In activerecord/lib/active_record/attribute_methods/before_type_cast.rb:
>
> > @@ -59,7 +59,7 @@ def read_attribute_before_type_cast(attr_name)
> >        #   task.attributes_before_type_cast
> >        #   # => {"id"=>nil, "title"=>nil, "is_done"=>true, "completed_on"=>"2012-10-21", "created_at"=>nil, "updated_at"=>nil}
> >        def attributes_before_type_cast
>
> could be delegate :before_type_cast, to: :@attributes, prefix: true
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/rails/rails/pull/15846/files#r14051100>.
>



-- 

Thanks,
Sean Griffin