Sha256: 4e54df50e9e88b77f50e5d22eadee44aea3da8211aaf010eaa2e25224a6f2a95

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

class Dorsale::ApplicationRecord < ActiveRecord::Base
  self.abstract_class = true

  include Dorsale::ActiveRecordUUIDConcern
  include Dorsale::DefaultValuesConcern
  nilify_blanks

  def self.last_created
    reorder(:created_at, :id).last
  end
end

ActsAsTaggableOn::Tagging.send(:include, Dorsale::ActiveRecordUUIDConcern)
ActsAsTaggableOn::Tag.send(:include, Dorsale::ActiveRecordUUIDConcern)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dorsale-3.3.0 app/models/dorsale/application_record.rb
dorsale-3.2.0 app/models/dorsale/application_record.rb