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.

test/unit with cache_helper action_pack 2.3.8 fail

#5351

Helper of http://api.rubyonrails.org/classes/ActionView/Helpers/CacheHelper.h... ActionController::Caching::Fragments fail with Test unit !

34: def cache(name = {}, options = nil, &block)
35: @controller.fragment_for(output_buffer, name, options, &block)
36: end

ActionView::TemplateError: wrong number of arguments (1 for 0)

<%- cache "layout_meta_#{Configuration.last_cache}" do -%>

I don't underdstand ?!

Reported by Joël AZEMAR · August 10th, 2010 @ 08:33 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Joël AZEMAR
    Joël AZEMAR
    • Tag set to action_pack, action_view, cache, testunit

    August 25th, 2010 @ 03:59 PM

  2. Joël AZEMAR
    Joël AZEMAR

    I do not understand... however, as the behavior is not into all my rails application but occurs only when using the cache helper in the main layout, not knowing whether it comes from my specific rails project or not, you can close this ticket ...

    October 14th, 2010 @ 07:56 PM

  3. Ryan Bigg
    Ryan Bigg
    • Tag cleared.
    • Importance changed from to Low

    Automatic cleanup of spam.

    October 19th, 2010 @ 08:31 AM

  4. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to invalid

    January 27th, 2011 @ 06:22 AM