Avoid name clashing when including modules

Gotcha. Rails autoload is getting crazy after I created a Checkout module
in my main app. Specifically in this place. Changing that solved the issue.
It could be the order of the name lookup in the autoload system, possibly,
but I'm not really sure. It's a little weird and should really not be
happening... I can't tell for sure the reason.
On Jun 26, 2014 1:35 AM, "Ryan Bigg" <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
>
> Because we want to know how it happens. Know your enemy and all that.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/spree/spree/pull/4844/files#r14224977>.
>