This project is archived and is in readonly mode.
Action Caching is returning wrong page
-
David Trasbo
- Assigned user set to Ryan Bigg
Jeremy,
I was unable to duplicate this issue on Rails 2.3.5:
➜ code rails -v Rails 2.3.5 ➜ code rails action_caching ... ➜ code cd action_caching ➜ action_caching script/generate controller news index view ...class NewsController < ApplicationController caches_action :index, :view def index end def view render :text => params[:id] end endActionController::Routing::Routes.draw do |map| map.connect ':controller/:action/:id' map.connect ':controller/:action/:id.:format' end/news/view/1and/news/view/2show the correct numbers respectively.Unless I've missed something, this ticket can safely be marked as resolved.
-
Ryan Bigg
- State changed from new to resolved
Thanks David.
Jeremy, if this is still an issue please re-open this ticket.