You can clone with
HTTPS or Subversion.
I agree. In particular, Mongoid will preload all models for every request if preload_models is set. This drastically slows down development.
Change field_changed? method to handle the case where a nullable inte…
…ger column is changed from 0 to '0'
Signed-off-by: Jeremy Kemper <email@example.com>
Here's a gem that'll turn off to_prepare on each asset request: https://github.com/wavii/rails-dev-tweaks (also configurable for any other request you like). Gives a good boost.
There is no way to_prepare callback can be disabled only for sprockets in a reliable way and avoiding side effects. This should be done at your own peril and not automatically by Rails. Honestly, Mongoid could do better than preloading all models on each request (it could be lazy, for instance).