class Object

Public Class Methods

inspect_with_rescue() click to toggle source
# File lib/elasticsearch/model/ext/active_record.rb, line 23
def inspect_with_rescue
  inspect_without_rescue
rescue ActiveRecord::ConnectionNotEstablished
  "#{self}(no database connection)"
end