lib/hanami/model/plugins/timestamps.rb in hanami-model-1.1.0.beta1 vs lib/hanami/model/plugins/timestamps.rb in hanami-model-1.1.0.beta2
- old
+ new
@@ -15,10 +15,10 @@
class InputWithTimestamp < WrappingInput
# Conventional timestamp names
#
# @since 0.7.0
# @api private
- TIMESTAMPS = [:created_at, :updated_at].freeze
+ TIMESTAMPS = %i[created_at updated_at].freeze
# @since 0.7.0
# @api private
def initialize(relation, input)
super