fractaledmind / enlitenment

A Rails application template script to lead your app to SQLite enlightenment.
44 stars 3 forks source link

SKIP_DEV_CACHE is not intuitive #7

Closed thedumbtechguy closed 2 months ago

thedumbtechguy commented 2 months ago

SKIP_DEV_CACHE defaults to false, which means it is enabled. This goes against both the rails defaults and the comment in the code https://github.com/fractaledmind/enlitenment/blob/main/template.rb#L323

image

It feels like this should default to true

fractaledmind commented 2 months ago

Yeah, the comment is out of date. I think dev and prod should be as close as possible, so I want to enable caching in dev (thus the default is "don't skip")