Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPDATE: replace subclassing with a DataExtension, add has_many warning
I replaced the subclassing example by one using a DataExtension. This is the preferred way to add extra functionality to the Image class. You can now add any existing image from the assets section instead of only those belonging to the subclass. Added a warning not to use has_many relations, because the UploadField doesn't fully support them.
- Loading branch information
Showing
1 changed file
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters