app/models/storytime/version.rb in storytime-0.0.1 vs app/models/storytime/version.rb in storytime-0.0.2
- old
+ new
@@ -1,6 +1,6 @@
module Storytime
class Version < ActiveRecord::Base
- belongs_to :user
+ belongs_to Storytime.user_class_symbol
belongs_to :versionable, polymorphic: true
end
end