Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

raedatoui/acts_as_imageable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

rails g image

  • app/models/image.rb model file

  • app/uploaders/acts_as_imageable/file_uploader.rb carrierwave uploader. add versions and processes here

  • app/models/concerns/acts_as_imageable/images_attribute.rb a model concern that adds the images attribute to imageable objects

  • db/migrate/20130725154554_create_images.rb migration

To Do

  • clean up tests

About

polymorphic images for rails

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages