spec/dummy/app/models/asset.rb in rails-uploader-0.5.8 vs spec/dummy/app/models/asset.rb in rails-uploader-0.5.9

- old
+ new

@@ -18,10 +18,10 @@ # Indexes # # index_assets_on_assetable_type_and_assetable_id (assetable_type,assetable_id) # index_assets_on_user_id (user_id) # -class Asset < ActiveRecord::Base +class Asset < ApplicationRecord include Uploader::Asset belongs_to :assetable, polymorphic: true def filename