added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class UserFood < ActiveRecord::Base
|
||||
#
|
||||
# Associations
|
||||
#
|
||||
belongs_to :user
|
||||
belongs_to :food
|
||||
|
||||
#
|
||||
# Validations
|
||||
#
|
||||
validates :user, :food, presence: true
|
||||
end
|
||||
Reference in New Issue
Block a user