similar to: Display custom links above top level arrays using Jbuilder

Displaying 20 results from an estimated 2000 matches similar to: "Display custom links above top level arrays using Jbuilder"

2003 Apr 18
1
MCMCpack gelman.plot and gelman.diag
Hi, A question. When I run gelman.diag and gelman.plot with mcmc lists obtained from MCMCregress, the results are following. > post.R <- MCMCregress(Size~Age+Status, data = data, burnin = 5000, mcmc = 100000, + thin = 10, verbose = FALSE, beta.start = NA, sigma2.start = NA, + b0 = 0, B0 = 0, nu = 0.001, delta = 0.001) > post1.R <- MCMCregress(Size~Age+Status, data
2010 Jul 13
0
Unknown Method key? error in Rails 2.3.8 Unit testing
I was writing unit tests for my models for a while. After that I was tweaking around and again continued writing unit tests. Earlier all my unit tests were working - successfully. But now WHen I run them, it gives me Loaded suite unit/post_test Started EEEE Finished in 0.112698 seconds. 1) Error: test_presence_of_body(PostTest): NoMethodError: undefined method `key?'' for
2010 Aug 09
1
creating pdf of wireframe
Dear R list, I have written some code to produce several wireframe plots in a panel. They look good, but when I try to create a pdf, many (but not all) of the details I have specified are not reproduced. For example, the line width I have specified is not reproduced, and neither are the font sizes for the axis labels. I'm an R novice, so I could really use some guidance. Here is the code I am
1999 Jan 20
1
JBuilder Reload buffers? confusion (any update?)
Hi, We've got some Java projects that are being developed on both Unix and NT and we're struggling with JBuilder 2.0 and its "File has been externally updated, reload buffers?" messages. Has anyone found a fix? Is it a bug in JBuilder? i.e should I save my hair and not spend any more time investigating/trying to fix this problem? More info: Our NT machines access files from
2008 Jan 21
2
multiple ids on restful action
Hi, I know this question has come up before, but I couldn''t find a satisfying answer. Maybe I didn''t look well enough, so any pointers to old messages regarding this subject would be welcome too. I need some way to pass multiple ids to a resource. Something like /posts/13,14 If I do this I have to manually split the id on ","s in the action, and use post_path([post1,
1999 Jan 20
1
JBuilder Reload buffers? confusion (any update?) (PR#12876)
aideen@persimmon.co.uk wrote: > > Hi, > > We've got some Java projects that are being developed on both Unix and > NT and we're struggling with JBuilder 2.0 and its "File has been > externally updated, reload buffers?" messages. Has anyone found a fix? > Is it a bug in JBuilder? i.e should I save my hair and not spend any > more time investigating/trying
2007 Nov 19
2
login help - grouping records
I have a long list of posts posted on different days and many posts every day. I want them to arrange like following... Date1 ----- post1 post2 Date2 ----- post3 post4 post5 How can I (say) group them to appear all posts of one date under their related headng. Because records have so many different days, it is confusing me.. I need some generic solution. Thanks in advance. -- Posted via
2010 Aug 24
0
SAMR for paired samples
Hi R-help, I am trying to use 'samr' for 10 pre and post paired samples to test whether post is different from pre (i.e., the location shift for the delta of (post-pre)). However, I got an error message saying > samr.obj<-samr(d, resp.type="Two class paired", nperms=100, random.seed=100) perm= 1 Error in !logged2 : invalid argument type Does anyone know what this
2006 Jul 23
2
pagination_links and friendly urls
my pagination_links seems to auto generate the links using the current controller, action and id. The page they''re appearing on however have a friendly url I have created. I want to be able to make pagination urls generated by pagination_links "user friendly" as well so that they match my current naming convention.....i know there must be a way to do this....any ideas?
2006 Jan 19
8
Pagination_links without "?page=" but with params[:id]
Hello, With default pagination I have this : <a href="/users/infos/3?page=1">1</a> <a href="/users/infos/3?page=3">3</a> but i need this : <a href="/users/infos/1">1</a> <a href="/users/infos/3">3</a> I need to remove the "?page=" parameters and rewrite a little the link ( with a link_to ? )
2013 Apr 15
4
Rails' scaffold controller generator - should it test json format also?
(Forgive me if this is incorrect, because I recognized this initially as something in Rails 4.0.0.beta1 and have just done a cursory look over the latest generator code.) Noticed in Rails 4 that the test generated for a scaffold controller only tests the html format instead of both html and json:
2006 Jul 07
0
Pagination and accessing old objects/parameters
Hi all, I am trying to use the pagination capabilities in a search tool that I have. A search view takes several parameters provided in text input and drop down boxes. Submitting the form causes a POST call to :action => ''search''. I generate some DB conditions based on the parameters and do a paginate. Everything gets shuttled off to the view again and things get rendered
2006 Apr 27
2
How to override pagination_links method
I intend to override pagination_links method. I added following lines of code in application_helper.rb module ActionView module Helpers def pagination_links(paginator, options={}, html_options={}) raise("boom!!") end end end But my code is not executing my code. The view is still using the method pagination_links from rails. What''s the correct way to override
2006 Mar 02
7
Timing of effects before and after Ajax call
Hello, I have a problem with the timing of effects. I do have a tag (with id: post1). When the link is clicked, the block "post1" must BlindUp. Then the block is updated with the new content and then the effect BlindDown is executed. Below is the source code of the link_to_remote I am using. <%= link_to_remote("Ajax Edit", :update =>
2006 Apr 06
0
Keeping sql query in session hash
Hi! Could it be somehow dangerous or is not generally recommended? I''m having troubles with paginating search results. I don''t want to resend conditions parameters in every pagination link (next, previous, pagination_links) and build query every time the search action is executed. I can''t be sure which conditions will be present and which not, so it all could get
2007 Apr 04
2
[PLUGIN] ArPaginator - Allows you to easily paginate over any existing AR queries.
The built-in Rails pagination is fairly limited...you pass in the model name, and optionally some conditions, and it generates a paginated query for you. This gets to be very bad if you''ve got any custom queries. class Company < ActiveRecord::Base def complete_videos Video.find :all, :conditions => "company_id=#{id} AND status=''complete''", :order
2005 Dec 19
2
Advanced search/filter use cases
I''ve been working on an application lately that has a lot of advanced search and filtering functionality (with ranges and substring searches for each attribute). Despite being a pretty common use case, this isn''t supported particularly well by any framework I''ve used, including Rails. I''d like to fix that. :) Right now, my major pet peeves are: 1. Long,
2006 Jul 12
2
Problem w/ Rails 1.1.4 and pagination_links using params?
I just installed version 1.1.4 and it seems like I started having problems with the pagination_links method. When I call the method using something like this (using the :params option--and this seems to be the problem), <%= pagination_links @todo_pages, :params => params %> then it duplicates part of the controller in the generated url. For example, before one of my paginator links
2003 May 28
0
Samba2.2.8a+Netscape DS4.16:Bind failed
Hello I'm trying to setup samba/linux file server , with authentification made by Netscape directory server. The steps I follow: 1 Installing Netscape DS , for now de directory server in empty . the only users are : admin and manager each one has his passwd. 2 Installing Samba2.2.8a (--with-ldapsam support) 3 modifiying smb.conf to [global] ldap server =
2004 Sep 26
0
FreeBSD Security Advisory FreeBSD-SA-02:21.tcpip
Fun, fun. I suggest checking the corresponding MTA configuration :) Return-Path: <David.Bear@asu.edu> Delivered-To: rohrbach@mail.webmonster.de Received: (qmail 56434 invoked by uid 801); 24 Sep 2004 15:51:37 -0000 Delivered-To: vrohrbach-karsten@rohrbach.de Received: (qmail 56429 invoked from network); 24 Sep 2004 15:51:36 -0000 Received: from post5.inre.asu.edu (129.219.110.120) by