Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jarydkrish/attach-in-model-callbacks-rails-5
Example repo for rails active storage callbacks in Rails 5
https://github.com/jarydkrish/attach-in-model-callbacks-rails-5
rails5
Last synced: 9 days ago
JSON representation
Example repo for rails active storage callbacks in Rails 5
- Host: GitHub
- URL: https://github.com/jarydkrish/attach-in-model-callbacks-rails-5
- Owner: jarydkrish
- Created: 2019-08-22T21:58:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T14:28:43.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T09:09:47.728Z (over 1 year ago)
- Topics: rails5
- Language: Ruby
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://github.com/jarydkrish/attach-in-model-callbacks-rails-5/workflows/Ruby/badge.svg)](https://github.com/jarydkrish/attach-in-model-callbacks-rails-5/actions)
Example of ActiveStorage in Rails 5.2.3. Saving an attachment in an ActiveModel callback works in this example.
Please review the [User Model](app/models/user.rb), and it's corresponding [test](test/models/user_test.rb)