Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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)

#4010

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/.

Reported by Off Topic · February 20th, 2010 @ 04:38 PM

State: resolved
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: none

Activity

  1. Torsten Bühl
    Torsten Bühl

    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

    February 20th, 2010 @ 09:12 PM

  2. José Valim
    José Valim
    • Assigned user set to Yehuda Katz (wycats)
    • Milestone cleared.

    February 21st, 2010 @ 11:53 AM

  3. José Valim
    José Valim
    • 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.

    February 23rd, 2010 @ 09:50 PM

  4. Yehuda Katz (wycats)
    Yehuda Katz (wycats)

    Essentially, we need to turn off the template lookup caches entirely in dev mode

    February 24th, 2010 @ 07:56 AM

  5. José Valim
    José Valim
    • State changed from open to resolved
    • Assigned user changed from Yehuda Katz (wycats) to José Valim

    That should be fixed right now.

    March 8th, 2010 @ 11:06 PM

  6. Jeremy Kemper