tnantoka/miclo

View on GitHub
app/models/concerns/timestamp_scopes.rb

Summary

Maintainability
A
0 mins
Test Coverage
module TimestampScopes
  extend ActiveSupport::Concern
  included do
    scope :active, -> { order(updated_at: :desc) }
  end
end