https://github.com/hauntedhost/carrierwave_avatar
https://github.com/hauntedhost/carrierwave_avatar
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hauntedhost/carrierwave_avatar
- Owner: hauntedhost
- Created: 2015-03-13T02:16:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-13T02:25:01.000Z (over 11 years ago)
- Last Synced: 2025-07-29T11:59:27.358Z (11 months ago)
- Language: Ruby
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### skip_callback :save, :after, :remove_previously_stored_COLUMN
An quick example app to demonstrate that, to preserve previously stored CarrierWave files, `skip_callback :commit, :after, :remove_previously_stored_MODEL` does __not__ work.
But `skip_callback :save, :after, :remove_previously_stored_COLUMN` __does__ work.
``bash
$ git clone git@github.com:somlor/carrierwave_avatar.git
$ cd carrierwave_avatar && rake db:create && rake db:migrate && rails s
$ open localhost:3000/users/new
``