ActiveRecord::Base
ujistí se, že se na tento produkt neodkazují žádné položky
# File app/models/product.rb, line 18 18: def ensure_not_referenced_by_any_line_item 19: if line_items.empty? 20: return true 21: else 22: errors.add(:base, 'Existují položky') 23: return false 24: end 25: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.