mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Make Relation#inspect less noisy
This commit is contained in:
@@ -320,6 +320,10 @@ module ActiveRecord
|
||||
end
|
||||
end
|
||||
|
||||
def inspect
|
||||
to_a.inspect
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def method_missing(method, *args, &block)
|
||||
|
||||
Reference in New Issue
Block a user