Sha256: f861d252a3246ef44cd8c59c94da87a47927b100033fae129d07a62098ce51fc

Contents?: true

Size: 252 Bytes

Versions: 6

Compression:

Stored size: 252 Bytes

Contents

# frozen_string_literal: true

class ModelDate < ActiveRecord::Base
  normalizy :date          , with: :date
  normalizy :date_format   , with: { date: { format: '%y/%m/%d' } }
  normalizy :date_time_zone, with: { date: { time_zone: 'Brasilia' } }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
normalizy-1.3.0 spec/support/models/model_date.rb
normalizy-1.2.0 spec/support/models/model_date.rb
normalizy-1.1.1 spec/support/models/model_date.rb
normalizy-1.1.0 spec/support/models/model_date.rb
normalizy-1.0.1 spec/support/models/model_date.rb
normalizy-1.0.0 spec/support/models/model_date.rb