instance method
full_inspect
Ruby on Rails 8.1.2
Since v7.2.3Signature
full_inspect()
Returns all attributes of the record as a nicely formatted string, ignoring .attributes_for_inspect.
Post.first.full_inspect #=> "#<Post id: 1, title: "Hello, World!", published_at: "2023-10-23 14:28:11 +0000">"
Source
# File activerecord/lib/active_record/core.rb, line 795
def full_inspect
inspect_with_attributes(all_attributes_for_inspect)
end
Defined in activerecord/lib/active_record/core.rb line 795
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Core