I added a small script to manage puma-dev easily. Basically all scripts suggested above, in a bash script.
Here is the gist https://gist.github.com/ramonrails/d7056dd8af8c583f56493903fefbdb0c
PS: Nice video series. Keep going. Open source community is great! I hope my tiny contribution helps.
Should you also include this in the notes?
class Image < ApplicationRecord # :nodoc: attachment :image, type: :imageend
Thanks for the heads up. I've updated the show notes.
# config/initializers/refile.rbRefile.store = Refile::Backend::FileSystem.new(Rails.root.join('public', 'uploads', 'refile_store'))
Maybe this config can be included too in the article. It allows to persist the uploaded attachments properly.
Without this config, the uploads just stay in system tmp or cache folders and eventually get purged.
You may use a combination of
for some super awesome threaded hierarchical comments system. Ancestry is optional, just to get some cool queries and filters easily without writing them from scratch.
Hope it helps. Good luck.