Class: Dorsale::ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Dorsale::ApplicationRecord
- Includes:
- Agilibox::ActiveRecordUUIDConcern, Agilibox::DefaultValuesConcern, Agilibox::ModelI18n, Agilibox::ModelToS, Agilibox::PolymorphicId
- Defined in:
- app/models/dorsale/application_record.rb
Direct Known Subclasses
Address, Dorsale::Alexandrie::Attachment, Dorsale::Alexandrie::AttachmentType, BillingMachine::IdCard, BillingMachine::Invoice, BillingMachine::InvoiceLine, BillingMachine::PaymentTerm, BillingMachine::Quotation, BillingMachine::QuotationLine, Comment, CustomerVault::Link, CustomerVault::Person, ExpenseGun::Category, ExpenseGun::Expense, ExpenseGun::ExpenseLine, Flyboy::Task, Flyboy::TaskComment
Class Method Summary collapse
Class Method Details
.last_created ⇒ Object
12 13 14 |
# File 'app/models/dorsale/application_record.rb', line 12 def self.last_created reorder(:created_at, :id).last end |