-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: railsmdb
-
None
-
Fully Compatible
-
Ruby Drivers
-
Not Needed
-
RailsMDB, in its first incarnation, relies heavily on monkeypatching Rails CLI internals in order to override task priorities and implementations. This is brittle, as we knew it would be.
In researching and preparing for my Rails World talk about RailsMDB, I discovered the --template option for rails new, which is very much intended for our use case. We can't escape all monkeypatching, but if we lean on this --template option, I think we can get rid of some of the more egregious bits. It will also make it easier to present RailsMDB to a Rails audience, and justify our implementation to them.