fractaledmind / enlitenment

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

SKIP_DEV_CACHE is not intuitive #7

Closed thedumbtechguy closed 3 months ago

thedumbtechguy commented 3 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 3 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")