photofy 0.0.1
A gem to provide simple method to do fileupload of pictures and provides getter setter methods of it and save on model object commit. #Generates photo filed from photo_field arguments and provides methods like #if photo_filed is "collage" then it provides methods on top of it as #collage -> Getter, #collage = -> Setter. Accepted inputs are file upload(ActionDispatch::Http::UploadedFile), filer handle and String(no format validation is ignored), #collage_path -> Getter of filepath, #collage_persisted? -> true if provided file/data is stored on disk, #collage_store! -> to store provided file/data on disk, #collage_destroy! -> to store destroy stored file/data from disk