Class: ActiveRecord::Base
- Inherits:
-
Object
show all
- Extended by:
- ActiveModel::AttributeRegistration::ClassMethods, Associations::ClassMethods, Batches, Calculations, Callbacks::ClassMethods, FinderMethods, Inheritance::ClassMethods, ModelSchema::ClassMethods, QueryMethods, RelationMethods, Scoping::Named::ClassMethods, Transactions::ClassMethods, Translation, ActiveStorage::Attached::Model::ClassMethods, ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods, Enumerable
- Includes:
- Callbacks, Persistence, ActiveStorage::Attached::Model, ActiveStorage::Reflection::ActiveRecordExtensions
- Defined in:
- lib/solargraph/rails/annotations/active_record.rb
Class Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
attachment_changes, changed_for_autosave?, has_many_attached, has_one_attached, reload
Class Attribute Details
.attachment_reflections ⇒ Hash{String => ActiveStorage::Reflection::HasOneAttachedReflection, ActiveStorage::Reflection::HasManyAttachedReflection}
included in ActiveRecordExtensions
203
204
205
|
# File 'lib/solargraph/rails/annotations/active_record.rb', line 203
def attachment_reflections
@attachment_reflections
end
|
Class Method Details
.i18n_scope ⇒ :activerecord
211
|
# File 'lib/solargraph/rails/annotations/active_record.rb', line 211
def self.i18n_scope; end
|
.set_callback ⇒ Object
208
|
# File 'lib/solargraph/rails/annotations/active_record.rb', line 208
def self.set_callback; end
|
Instance Method Details
#reload ⇒ self
214
|
# File 'lib/solargraph/rails/annotations/active_record.rb', line 214
def reload(); end
|