spec/support/models/user.rb in
attachy-0.1.2
vs spec/support/models/user.rb in
attachy-0.2.0
- old
+ new
@@ -2 +1,3 @@
+# frozen_string_literal: true
+
class User < ::ActiveRecord::Base has_attachment :avatar, accept: %i[jpg png]