[Rails-core] Disable HTTP caching application-wide (e.g. conditional GET)

2019-09-21 Thread Jack Kinsella
I have a Rails 6 application that relies on public caching e.g. `expires_in 1.week, public: true`. These pages must undergo integration tests (Capybara/Headless Chrome), and some pages change state between test cases. In order to prevent sporadic, order-dependent test failures, I want to disabl

[Rails-core] Re: Are plugins still necessary in Rails3?

2010-12-10 Thread Jack Kinsella
Full support with me on slowly deprecating the plugin system. It saves new developers the cognitive load of asking "plugin vs gem". @Kevin Great idea with the "rails generate gem" addition. -- Jack Kinsella On Dec 8, 5:34 pm, "James B. Byrne" wrote: > On W

[Rails-core] Re: Nested :through associations

2010-12-02 Thread Jack Kinsella
+1 for the usefulness of Jon's patch. During a previous project I was very disappointed to find that Rails didn't support nested :through associations. Besides my own experiences, a quick search on Google for "nested has many through associations" shows a litany of blog posts and discussions on hac