Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

On second thought...

  • Loading branch information...
commit a1d85f79734217b9f55446adadc5b29efe97ba69 1 parent abe7b72
@nateberkopec nateberkopec authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/app/models/order.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.