method

reflect_on_attachment

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ClassMethods
reflect_on_attachment(attachment) public

Returns the reflection object for the named attachment.

User.reflect_on_attachment(:avatar)
# => the avatar reflection
Show source
Register or log in to add new notes.