similar to: Render :action for moved templates

Displaying 20 results from an estimated 7000 matches similar to: "Render :action for moved templates"

2012 Jan 05
8
js update partial missing template
PermissionsController def add_member ...snip... @permissions = Permission.all respond_to do |format| format.html { flash[:messages1] = @permission.user.name + " has been given rights." } format.js end end app/views/permissions/add_member.js.erb $(''#privileges'').replaceWith("<%=
2008 Mar 20
1
Cointegration no constant
Hi, I am trying to estimate a VECM without constant using the following code: data(finland) sjf <- finland sjf.reg<-ca.jo(sjf, type = c("eigen"), ecdet = c("none"), K = 2,spec=c("transitory"), season = NULL, dumvar = NULL) cajools(sjf.reg) While the cointegration test does not use a constant, it is used in the cajools which I do not want. I am sure I am
2005 Feb 25
1
summary method in URCA package doesn't work
I can't figure out how to get the "summary" method in the URCA package to work. E.g. when I use the following code fragment in the help for the "ca.jo" function, it always tries to use the "summary" method from the "base" package, not the "urca" package. How do I force it use the "summary" method of the "urca" package?
2005 Dec 26
0
[rjs] How can I render a action template instead of partial
Hi, I want to render a action template with rjs, so instead of doing this: page.replace_html ''maincontent'', :partial => ''list'' I want to do this: page.replace_html ''maincontent'', :action => ''list'' but the render (that is called by replace_html, outputs to the reponds_body), so it doesn''t work. Is there a
2006 Jul 26
0
page.replace_html render(:action => ''other_action'')
I want to be DRY. I have a controller action, component, that renders html. I have another controller action, component_update, that returns RJS: This what I''d like for ''component_update.rjs'': page[params[:scaffold_id]].replace_html render(:action => "component", :layout => false) page[params[:scaffold_id]].visual_effect :highlight But, the render is
2007 Jul 28
3
chroot'd SFTP
Thanks for these 3rd party hacks! I don't trust them. There must be such feature in openssh out of box. So the most secure/easyer method of giving sftp access to porn collection is: Damiens sftp-server chroot patch, which I hope to see in openssh one day :) http://marc.info/?l=openssh-unix-dev&m=116043792120525&w=2 # useradd -d /data/p0rn -m share /etc/ssh/sshd_config: Match user
2006 Jul 03
2
rjs renders string or partial but not template or action
Hi, I have an rjs file. I only have one controller called called front. I have views called "new_title.rhtml" and "_new_title.rhtml" These work page.replace_html ''title'', ''new title'' page.replace_html ''title'', :partial => ''new_title'' page.replace_html ''title'',
2011 Sep 24
2
maptools::sunriset() daylight savings to stardard time change
Hello all, After beating my head against the wall for a few hours, I give up. I have two problems. 1. If I use seq() to generate a POSIXct series that crosses a daylight savings to stardard time change I get two values for the first day of change. The time change is Nov 6,2011. The value for Nov 7 turns into 23:00 on Nov 6, thus two values for Nov 6. (see below) So I put a time value (noon)
2008 Apr 03
1
Omission in sshd_config man page
[Not subscribed to this list, so please respond directly if you need to speak to me] In man5/sshd_config.5, a permissible keyword in a 'Match' block is missing. It currently lists only: AllowTcpForwarding, Banner, ForceCommand, GatewayPorts, GSSApiAuthentication, KbdInteractiveAuthentication, KerberosAuthentication, PasswordAuthentication, PermitOpen, PermitRootLogin,
2007 Apr 01
2
CentOS + GNU Zebra
Hi folks, At work, we're considering the idea to replace the presente router with a stardard box with CentOS as a SO and GNU Zebra as a routing software. The line is a 4Mbps SDSL. ?What do you think about Zebra and what are your experiencies with it? Any feedback will be so appreciated. TIA.
2002 Nov 07
2
The integration of the square of the c.d.f of normal distribution
Assume F(x) is the cdf of stardard normal c.d.f, and want to get the integration of F(x)^2 over (-infinite, +infinite). So whats the value of this integration? And is there some function to achieve this? Thanks. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2006 May 24
1
ActionMailer (Action Mailer) Template not found? Help!!
I have been going around on the Internet about this all day and found absolutely nothing that seems to fit this problem. I have a mailer named "Notifier" -- in fact I have been using the EXACT code from the "Agile Development With Rails" chapter on "Sending E-Mail", pp. 411-416, except for my names (mailer named "Notifier", emailer method named
2006 Jul 22
3
How do you find out what action rendered a page
Hi I have this list page that has some rjs templates updating parts of it including a table of results. i''m trying to put pagination on the table. thing is lots of different actions update the table and they have their own paginators. anyway i have this code at the bottom which worked for another page <%= pagination_links_each(@offer_pages,:window_size =>4) do |n|
2009 Jun 06
2
How does controller call render when there's no render in action
Hello, I was studying Rails source and at this point: def process(request, response, method = :perform_action, *arguments) #:nodoc: response.request = request initialize_template_class(response) assign_shortcuts(request, response) initialize_current_url assign_names log_processing send(method, *arguments) send_response I have a
2005 Sep 02
1
Calculating Goodman-Kurskal's gamma using delta method
Dear list, I have a problem on calculating the standard error of Goodman-Kurskal's gamma using delta method. I exactly follow the method and forumla described in Problem 3.27 of Alan Agresti's Categorical Data Analysis (2nd edition). The data I used is also from the job satisfaction vs. income example from that book. job <- matrix(c(1, 3, 10, 6, 2, 3, 10, 7, 1, 6, 14, 12, 0, 1, 9,
2007 Jan 25
1
render rhtml templates in worker
I''m trying to make a worker that will render a large page to a file, very similar to what rails'' builtin cacheing does except with the rendering done outside of rails. The only advice I''ve found is to use ActionController::Integration::Session.new but this doesn''t seem to allow setting session variables the way the functional tests do. Is there a way to
2006 Sep 26
0
Is it possible to render RXML partials in RHTML templates?
I have a RHTML template and I would like the output of a RXML partial to be embedded within it. When I do <%= render(:partial => ''list_edit'') %> where there exists a _list_edit.rmxl file, I get XML parsing errors in the browser - I believe because the partial is causing the rendered content to be identified as XML instead of HTML. Is there any way to
2007 Jun 26
0
Best way to render KML files using RXML templates
I want to produce google maps KML files which are baiscally XML files with a KML extention. I''m using restful routes and respond_to. The best way I''ve found is to use respond_to do |format| format.kml { render :action => "kml" } will render a kml.rxml template I have but really I want to have action.rxml rendered for kml files. Is there are way to acheive this,
2011 Dec 13
1
continuous jquery partial update
Rails 3.1.x - jquery drag_drop.js $(function() { $( "[id^=moveable]" ).draggable(); $( "#droppable2" ).droppable({ drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) $.post( "groups/add_member/", { "add": ui.draggable.text() }, function(data) {
2006 Jul 29
0
RJS templates, Safari 1.3
Hello, I''m having a problem getting RJS templates working with Safari 1.3 (latest version available to OS X 10.3 and earlier). I''m using Rails 1.1.4, running on either linux or OS X.. same results. My RJS pages work fine using Safari 2.0, IE and Firefox.. just not Safari 1.3. The twist is that the following RJS sites work fine in Safari 1.3: http://depot.iamjp.com/demo