It was previously an attr_accessor on a class. It is not a publicly
accessible variable, it is set internally once based on the version of
postgres.
On May 21, 2014 10:49 PM, "Eugene Gilburg" <notifications@github.com> wrote:

> In
> activerecord/lib/active_record/connection_adapters/postgresql/oid/money.rb:
>
> > @@ -5,6 +5,8 @@ module OID # :nodoc:
> >          class Money < Type::Decimal
> >            include Infinity
> >
> > +          class_attribute :precision
>
> this used to be an attr_accessor and now is a class_attribute. could that
> cause concurrency problems?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rails/rails/pull/15239/files#r12935703>
> .
>