Fork me on GitHub

upload

    Use STI and polymorphic model for multiple uploads

    18 Aug 2010

    Richard Huang (flyerhzm@gmail.com)

    This is a flexible and reusable solution for multiple uploads, using STI model to save all the uploaded assets in one "assets" table and using polymorphic model to reuse "Asset" model in different uploadable models. Read More

    Tags