Permalink
Browse files

Turn off state validation on addresses

  • Loading branch information...
1 parent 04ee0a5 commit 54b73166d56a5451864d9881276dd0e1abdf35d3 @nateberkopec nateberkopec committed Jan 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/models/address.rb
@@ -5,7 +5,7 @@ class Address < ActiveRecord::Base
has_many :shipments
validates :firstname, :lastname, :address1, :city, :zipcode, :country, :phone, :presence => true
- validate :state_validate
+ #validate :state_validate
# disconnected since there's no code to display error messages yet OR matching client-side validation
def phone_validate

0 comments on commit 54b7316

Please sign in to comment.