Skip to content
Browse files

Changed callbacks to help product pass

  • Loading branch information...
1 parent b60538a commit 48c79e1dd42fb79218ecf5be7c6f7d7e36515e5f @anathematic committed Feb 7, 2010
Showing with 0 additions and 1 deletion.
  1. +0 −1 app/models/product.rb
View
1 app/models/product.rb
@@ -5,7 +5,6 @@ class Product < ActiveRecord::Base
has_many :line_items
has_one :photo
- # before_validation_on_create :ensure_photo_exists
accepts_nested_attributes_for :photo
def validate

0 comments on commit 48c79e1

Please sign in to comment.
Something went wrong with that request. Please try again.