Commit dc349a9

mo khan <mo@mokhan.ca>
2016-07-10 01:14:38
declare attributes on recommendation model.
1 parent eb0ac1c
Changed files (1)
app/models/recommendation.rb
@@ -1,4 +1,8 @@
 class Recommendation < ApplicationRecord
+  attribute :duration, :integer
+  attribute :sets, :integer
+  attribute :repetitions, :integer
+  attribute :duration, :integer
   belongs_to :exercise
   belongs_to :routine
   delegate :name, to: :exercise