This project is archived and is in readonly mode.
Views not reloaded in development mode (rails-3.0.0.beta, devise-1.1pre2, haml-2.2.20)
Reported by Off Topic | February 20th, 2010 @ 04:38 PM | in 3.0.2
Hi there!
I am using 3.0.0.beta with devise-1.1pre2 and haml-2.2.20.
Devise views has be copied into app/views/devise/...
In development mode, if I modify a devise custom view, it is not reloaded and the "previous" template version is still used (I presume a "cached one").
In the same context, when modifying my main layout, it is correctly reloaded.
This issue has be describe here (http://github.com/plataformatec/devise/issues/unreads#issue/115), Jose Valim said to report here.
My gems are in ~/.gem/ and not within vendor/plugins/.
Comments and changes to this ticket
-
Torsten Bühl February 20th, 2010 @ 09:12 PM
Hi all!
I have the same problem, the Github issue was by me ;).
I'm running yesterday's Edge Rails, devise-1.1.pre2 without haml on a windows machine (Ruby 1.9.1).Please ask, if you need more information. Hopefully, I will have some time to discover more details wihtin the next days.
I think it's because the engine driven views are cached like normal views in production mode.Cheers, Torsten
-
José Valim February 21st, 2010 @ 11:53 AM
- Assigned user set to Yehuda Katz (wycats)
- Milestone cleared.
-
José Valim February 23rd, 2010 @ 09:50 PM
- State changed from new to open
Giving it high priority. It's related with the cache in development and Yehuda is going to handle it.
-
Yehuda Katz (wycats) February 24th, 2010 @ 07:56 AM
Essentially, we need to turn off the template lookup caches entirely in dev mode
-
José Valim March 8th, 2010 @ 11:06 PM
- State changed from open to resolved
- Assigned user changed from Yehuda Katz (wycats) to José Valim
That should be fixed right now.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>