Displaying 3 results from an estimated 3 matches for "last_ad".
Did you mean:
last_fd
2006 May 21
0
expiring cache fragments using script/runner
...stion)
expire_page :controller => ''xml'', :action => ''question'', :id =>
question.id
expire_all_recently_added
end
........
def expire_all_recently_added
expire_fragment :controller => ''landing'', :action => ''last_added'', :part
=> ''list''
end
.
What I am stumped on is that I want to use script/runner which works on
models, and expire_fragment which works in controllers.
Can someone provide an example of how they would expire the fragment and how
it would be called by script/runne...
2005 Dec 21
0
uninitialized constant helper constant ?
Hi there,
I am getting a weird exception when creating a new controller
''SimpleRSS'' and pointing my browser to a correct route like
http://rails/simple_rss/last_added, the exception is the following :
uninitialized constant SimpleRssHelper
This error occured while loading the following files:
C:/Dev/rails/annotea/working_copy/trunk/annotea/public/../config/../app/controllers/simple_rss_controller.rb
Bests,
Sergi BorrĂ s
2011 Jul 06
2
[LLVMdev] code generation removes duplicated instructions
...tting it. The
following is an example.
bb: ; preds = %bb1
%0 = load i32* %i, align 4
%1 = getelementptr inbounds [100 x i32]* %a, i32 0, i32 %0
store i32 0, i32* %1, align 4
%2 = load i32* %i, align 4
%3 = getelementptr inbounds [100 x i32]* %last_added, i32 0, i32 %2
store i32 -1, i32* %3, align 4
%4 = load i32* %i, align 4
%5 = add nsw i32 %4, 1
store i32 %5, i32* %i, align 4
br label %bb1
==>
%0 = load i32* %i, align 4
%HV14_ = getelementptr inbounds [100 x i32]* %a, i32 0, i32 %0
%1 = getelementptr inbounds [100 x i32]*...