Skip to content

Commit

Permalink
Explain why we need to use fully-qualified name for Checkout module
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Aug 28, 2012
1 parent f442e48 commit d95f608
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/app/models/spree/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

module Spree
class Order < ActiveRecord::Base
# TODO:
# Need to use fully qualified name here because during sandbox migration
# there is a class called Checkout which conflicts if you use this:
#
# include Checkout
#
# rather than the qualified name. This will most likely be fixed with the
# 1.3 release.
include Spree::Order::Checkout
checkout_flow do
go_to_state :address
Expand Down

0 comments on commit d95f608

Please sign in to comment.