search for: nextitem

Displaying 2 results from an estimated 2 matches for "nextitem".

Did you mean: textitem
2006 Apr 07
2
Paginate single items
...ost if there is one. So i have in my controller def post @post = Post.find(params[:id]) @post_pages, @posts = paginate :posts, :per_page => 1 render(:layout => false) end And the following code in post.rhtml <% if @post_pages.current.next %> <%= link_to ''nextitem'', :action => "post", :id => @post_pages.current.next %> <% end %> <%= render :partial => "post", :object => @post %> I know the above code is wrong but that is sort of what i am looking for. Anyone help? -- Posted via http://www.ruby-f...
1999 Jan 27
0
load() patch
...if (TAG(e) == TAG(a)) { CAR(e) = CAR(a); a = CDR(a); @@ -1174,8 +1181,8 @@ a = CDR(a); UNPROTECT(1); PROTECT(a); - CDR(e) = FRAME(R_GlobalEnv); - FRAME(R_GlobalEnv) = e; + CDR(e) = FRAME(aenv); + FRAME(aenv) = e; CAR(e) = ConvertPairToVector(CAR(e)); /* PAIRLIST conv */ NextItem: ; -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at...