Avoid name clashing when including modules

I did experience issues. I have a module Checkout, and this was causing me
issues.
On Jun 22, 2014 11:12 PM, "Washington L Braga Jr" <notifications@github.com>
wrote:

> In core/app/models/spree/order.rb:
>
> > @@ -3,8 +3,8 @@
> >
> >  module Spree
> >    class Order < ActiveRecord::Base
> > -    include Checkout
> > -    include CurrencyUpdater
> > +    include Spree::Order::Checkout
> > +    include Spree::Order::CurrencyUpdater
>
> How are your classes / modules clashing?
>
> Referencing only Checkout here should be enough. Otherwise by the same
> example we should update the whole code base to reference the full class
> module path? Curious to know if you're experiencing load issues within
> rails.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/spree/spree/pull/4844/files#r14058771>.
>