Permalink
Browse files

On second thought...

  • Loading branch information...
1 parent abe7b72 commit a1d85f79734217b9f55446adadc5b29efe97ba69 @nateberkopec nateberkopec committed Mar 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/models/order.rb
@@ -30,7 +30,7 @@ class Order < ActiveRecord::Base
# TODO: validate the format of the email as well (but we can't rely on authlogic anymore to help with validation)
validates :email, :presence => true, :format => /^([\w\.%\+\-]+)@([\w\-]+\.)+([\w]{2,})$/i, :if => :require_email
validate :has_available_shipment
- validate :has_shipping_method, :if => :delivery_required?
+ #validate :has_shipping_method, :if => :delivery_required?
#delegate :ip_address, :to => :checkout
def ip_address

0 comments on commit a1d85f7

Please sign in to comment.