| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| generators/paperclip | ||
| paperclip | ||
| tasks | ||
| paperclip.rb |
The +as_json+ method enables Attachment objects to be rendered as JSON by Rails' JSON rendering framework. The Attachment object is not a native ActiveRecord attribute, but it can be accessed via the +:methods+ option provided to the +to_json+ method.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| generators/paperclip | Loading commit data... | |
| paperclip | Loading commit data... | |
| tasks | Loading commit data... | |
| paperclip.rb | Loading commit data... |