method

attribute_names

rails latest stable - Class: ActiveModel::Serialization

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

attribute_names()
public

Returns an array of attribute names as strings