similar to: Query String in routes.

Displaying 20 results from an estimated 10000 matches similar to: "Query String in routes."

2006 Apr 11
0
Page cache and query string
I''ve read about the problems of using page cache when there''s a query string, i.e. /article/list?page=1 will cache /article/list.html, then /article/list?page=5 will retrieve /article/list.html regardless of query string. I''m using a workaround, it looks almost obvious but since I haven''t found it mentioned anywhere I''m afraid there''s some
2006 Jan 21
2
TeensyWeb 0.1.0 released
TeensyWeb 0.1.0 has been released. The is a combination wiki, forums, and subversion repository browser. It''s simplistic. Nothing fancy. Possibly buggy and broken as it''s my first rails app. It requires rails, bluecloth, syntax be installed, which you can get from gems. In order to use subversion and graphwiz you must have those installed and the commands accessible from
2008 May 08
1
query strings built by R method can''t handle multiple values from checkbox selections
query strings built by R method can''t handle multiple values from checkbox selections R(SomeRoute, :reply_status=>%w{1 2 4}) should return query_string=" http://localhost:3301/someroute/?reply_status_id=1&reply_status_id=2&reply_status_id=4 " qsp(query_string) -> {"reply_status_id"=>["1", "2", "4"]} from
2006 Feb 28
1
Can I let routes.rb take precedence over file names?
I''d like Rails to intercept the url''s of html pages in a certain directory so I can embed them in my site. I put them in public/pages and tried to catch them with a route like map.connect ''pages/:pagename'' However this only works if the file does not exist; e.g. "pages/test.html" will only be routed if that file doesn''t exist,
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see ''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too slow, I thought I''d proxy to WebBrick via Apache. I am having routing problems now with escaped slashes in the URL. Here''s my routes.rb: map.connect '''', :controller => "wiki"
2007 May 12
3
Setting form-values
Hi, I''ve recently had some trouble setting form values in my code - for example: require ''rubygems'' require ''mechanize'' def save(pagename, content, editsummary = '''') agent = WWW::Mechanize.new agent.user_agent = ''Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)'' page =
2007 Nov 13
2
map - mapproj : problem of states localisation
Hi R-user, I am new with R and I have a problem with the map and mapproj fonctions : with the following code : >test_proj=mapproject(LONG_d01_vec_t1, LAT_d01_vec_t1, projection="lambert", parameters=c(30,60)) >longitude_vec=test_proj$x >latitude_vec=test_proj$y >longitude_mat=matrix(longitude_vec,ncol=e_sn_d01) >latitude_mat=matrix(latitude_vec,ncol=e_sn_d01)
2006 Aug 14
4
Controller method problem
Hi, I have a def in my controller see below where i want to find the page object based on a parameter value and then use the page_id to then find all the contents that belong to that page in the same method. Controller def aboutus @page = Page.find_by_name(params[''About Us'']) @contents = Content.find(:all, :conditions => "page_id = #{@page.id}") end
2003 Jun 13
7
sshd refusing connections problem
We have been having a problem with sshd on our shell server. This has been happening since March 4, 2003 or before IIRC. Initially I thought the next OS upgrade, to 4.8 would fix this. I am accustomed to haveing little things go away in a month or two. I think we jumped to 4.7-STABLE on Feb 28, 2003. Some exploit fix wasn't being MFSd to RELENG_4_7 fast enough for my nerves (cvsd?). It
2015 Aug 22
2
Russian wiki
On 22 August 2015 at 19:20, Ilyas Arinov <arinov.ilyas at gmail.com> wrote: > I have to update pages twice now to see its content. > > --> --> > > Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line 1207, in > run > handler(self.page.page_name, self) > File >
2013 Feb 13
1
[lattice] display a projected map on a layerplot
summary: I can display a lon-lat map on a lattice::layerplot, and I can display a Lambert conformal conic (LCC) map on a spam::image, but I can't display an LCC map on a lattice::layerplot. Example follows. What am I doing wrong? details: I've been using `lattice` (via `rasterVis`) successfully to display global atmospheric data, which works well enough (though I am definitely intrigued
2012 Apr 26
2
Lambert (1992) simulation
Hi, I am trying to replicate Lambert (1992)'s simulation with zero-inflated Poisson models. The citation is here: @article{lambert1992zero, Author = {Lambert, D.}, Journal = {Technometrics}, Pages = {1--14}, Publisher = {JSTOR}, Title = {Zero-inflated {P}oisson regression, with an application to defects in manufacturing}, Year = {1992}} Specifically I am trying to recreate Table 2. But my
2006 Mar 17
1
[noob] params vs query string
We''ve got a lot of existing legacy systems, and as a simple proof-of-concept I''m trying to get rails to work as an extension for these systems in a relatively transparent way. I''ve got rails running on another server with access to the same database as the legacy system. I''m simply popping up the rails in a frame on the legacy system, so the user can
2003 Jul 09
1
OpenBSD version???
John Todd's Onlamp article mentions an OpenBSD version as of June 2003. Have I been sleeping while reading asterisk-users? Is it a seperate project or is it just making Asterisk portable? Who is working on this and is it in the main CVS yet? Do they have device drivers ported or just the software parts of Asterisk? I think the software parts would be relatively simple but time consuming.
2013 Jan 10
1
Lambert W question
Dear All,   I am using the following model equation:   k*(lambertW_base(b=0,((a)/k)*exp(((a)-z*(t-t0))/k)))   I would like to run this through OpenBUGS, but it does not recognize the lambert function. Would you have any thoughts on how to re-vrite this equation matemathically so that it could be run on OpenBUGS?   apreciate the help,   Sincerely,   Andrs [[alternative HTML version deleted]]
2012 Aug 22
3
Libvirt Seg Fault when compiling either 0.9.13 or 0.10.0-rc1
Hi all, I am trying to install a version of Libvirt that will be compatible with qemu-kvm-1.1 but I cannot seem to get Libvirt to compile. During the make portion of the install I get the following error: ... make[4]: Entering directory `/home/shawn/libvirt-0.10.0/docs' Generating 404.html.tmp /bin/bash: line 5: 59204 Segmentation fault /usr/bin/xsltproc --stringparam pagename $name
2005 Jan 14
2
Porting from Linux to Windows
I intend to port an R project from Linux to Windows. It involves C code that is loaded via dyn.load(). I could manage to produce a 'dll' File using cygwin which seems to be o.k. Now, using dyn.load("pcr.dll") i get: Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "c:/cygwin/home/pingu/rt-pcr/pcr.dll": LoadLibrary
2001 Nov 06
4
Failed to dup/close : The descriptor is a file, not a socket
I am getting this error on a Win98SE pc, but not on WinNT4 or Linux Redhat 7.1 or 7.2. Failed to dup/close : The descriptor is a file, not a socket The command I used was rsync -e ssh gas.exe 10.105.50.180:src/ It works like I said on NT4 and from my Linux pc. I have cygwin installed on the win98 and NT. Rsync is version 2.4.6 Is it just because Win9x SU**s? Also where can I get a list of
2003 Nov 25
2
Lambert's W function
Hello List does anyone have an R function for the Lambert W function? I need complex arguments. [the Lamert W function W(z) satisfies W(z)*exp(W(z)) = z but I could'nt even figure out how to use uniroot() for complex z] -- Robin Hankin Uncertainty Analyst Southampton Oceanography Centre SO14 3ZH tel +44(0)23-8059-7743 initialDOTsurname at soc.soton.ac.uk (edit in obvious way; spam
2005 Dec 20
1
Model method_missing error (rforum)
I''m attempting to get rforum working. I pulled it from the subversion repository. Everything works fine until I attempt to make a post. I get the following error. c:/apps/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1498:in `method_missing'' #{RAILS_ROOT}/app/controllers/topic_controller.rb:80:in `new''