Rails 3.2: Autoloading doesn't work with dryml views
Reported by Ignacio Huerta | June 4th, 2012 @ 05:46 PM
the changes on the views were
not working nicely: sometimes they changed, sometimes they stayed
for
a while and took a few page reloads to be read.
It seems that the new Rails 3.2 autoloading is fighting Dryml.
The
quick workaround is to disable this feature adding this line to
your
config/development.rb:
config.reload_classes_only_on_change = false
A better solution is to leave it on and add the views to watchable dirs:
config.reload_classes_only_on_change = true config.watchable_dirs[File.join(config.root, "app/views")] = ["dryml"]
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »