attr_accessor is a Ruby method written in C. cattr_accessor is the ActiveSupport method written in Ruby. You may want to discuss attr_accessor in the Ruby issue tracker, not in Rails.
On Wednesday, February 1, 2017 at 5:10:10 PM UTC+2, matrix9180 wrote: > > I noticed cattr_accessor accepts a block and think it would be nice to > have for the other accessor/reader methods. Can work on a PR if there's > interest. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
