Permalink
Browse files

Merge branch 'items'

  • Loading branch information...
2 parents ac19450 + 8f2a5e3 commit bfb4dc9e0d6d6c4f4ebe52c765c4bfea58dbb901 @BM5k BM5k committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/item.rb
View
@@ -4,7 +4,7 @@ class Item < ActiveRecord::Base
:description,
:operation
- has_many :compartments_items
+ has_many :compartments_items, class_name: 'CompartmentsItems'
validates :code, presence: true
validates :operation, inclusion: { in: Modula::OPERATIONS }

0 comments on commit bfb4dc9

Please sign in to comment.