rails / solid_cache

A database-backed ActiveSupport::Cache::Store
MIT License
890 stars 63 forks source link

Docs: Run full installation by default (not just migrations) #190

Closed philipithomas closed 3 months ago

philipithomas commented 3 months ago

The current README command only add the migrations, not the config files.

But, two lines later in the same file, the docs reference Configuration will be read from config/solid_cache.yml - but, that file doesn't exist according to the current installation instructions.

I think this approach is cleaner, especially so that changes in defaults on version upgrades don't cause weird issues in the future.

Update: I refactored to match the docs style of the solid_queue docs, which defaults to the full installation by default but explains a more manual approach.