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