We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00640de commit d2212c1Copy full SHA for d2212c1
activerecord/lib/active_record/base.rb
@@ -2342,7 +2342,7 @@ def attributes=(new_attributes, guard_protected_attributes = true)
2342
2343
2344
# Returns a hash of all the attributes with their names as keys and the values of the attributes as values.
2345
- def attributes(options = nil)
+ def attributes
2346
self.attribute_names.inject({}) do |attrs, name|
2347
attrs[name] = read_attribute(name)
2348
attrs
0 commit comments