method

reflect_on_attachment

reflect_on_attachment(attachment)
public

Returns the reflection object for the named attachment.

User.reflect_on_attachment(:avatar)
# => the avatar reflection