This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.
attribute_names()
Returns an array of attribute names as strings
# File activemodel/lib/active_model/serialization.rb, line 152 def attribute_names # :nodoc: attributes.keys end