similar to: how can i override the show view to capture show/n , show/n+1, etc.

Displaying 20 results from an estimated 3000 matches similar to: "how can i override the show view to capture show/n , show/n+1, etc."

2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi, I have a trouble with deploying my ordinary rails application(myapp). When I execute ''rake deploy'', [...] command finished * executing task symlink * executing "ls -x1 /var/www/myapp/releases" servers: ["app1.olalog.com"] [app1.olalog.com] executing command command finished * executing "ln -nfs /var/www/myapp/releases/under
2005 Dec 30
2
scgi apache routes help needed
I''m trying to get an application running in a sub directory of a site using apache and scgi. The application runs fine with webrick. I have a site. Let''s call it "mysite.org". There is a variety of content on that site. I would like to add a rails application to that site. Let''s call the application "myapp". So we will have urls of the form
2013 Jul 02
1
rpmbuild environment CentOS5 vs CentOS6
On CentOS5 I was used to create a simple spec file where at the end I'll declare files and directories I wan't to package: --< Snip >-- %files %dir /opt/myapp %dir /opt/myapp/bin %dir /opt/myapp/etc /opt/myapp/bin/exec01 /opt/myapp/etc/myapp.conf ---- I'll copy the file in /usr/src/redhat/SPECS and run "rpmbuild -bb myapp.spec". On CentOS6 rpm-build package no longer
2009 Apr 30
1
odbcConnectAccess function
HI: Is it possible to use the RODBC package within MS Access. I have been using from R but was just wondering if it could be used along with R(D)COM. Something like this: Dim dbs As DAO.Database Dim rst As DAO.Recordset Dim myApp As StatConnector Set myApp = New StatConnector myApp.GetErrorText myApp.Init "R" myApp.EvaluateNoReturn "library(RODBC)" myApp.EvaluateNoReturn
2006 Mar 09
3
OT: Subversion repository layout
Hi, I''m trying to get a nice repository structure happening and was wondering what other people like to use. I''m about ready to publish a rails app. This app now lives in myapp/trunk When this app goes live I will need to freeze it so I will copy myapp/trunk to myapp/tags/release-1.0 (right?) I also would like to get going on a new version which will break the current
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but I''m not finding any guidance on this problem. When I try to talk to my mongrel it simply responds with NOT FOUND and nothing else. I can''t find anything on google because this has to be the second most commond phrase in existence. Any help or guidance would be greatly appreciated. Sincerely, Chuck Vose
2006 Dec 01
4
uninitialized constant error in app but not when using console
I''ve got a wierd issue here and maybe someone can assist i created a module in my apps lib directory which i use for authenticating against an external source (among other things). lib/myapp.rb ----------------- require ''rubygems'' require_gem ''activerecord'' # uses activerecord odbc adapter by openlink module MyApp module ExternalSource class
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
Hi all I got a vps setup amazingly fast using the deprec recipes on Ubuntu edgy, but now I''m having a minor issue where my site loads for the main domain when I only want it accessible from the subdomain. This is a pretty typical setup, apache 2.2.3 -> mongrel_proxy_balancer -> mongrel cluster. I''m sure I''m missing something obvious in the config... I have the
2005 Mar 02
2
[PATCH] klcc compatibility with gcc
Here's a patch to klcc.in from klibc-0.202. The context: I have an application, managed with GNU automake/autoconf. Packagers should be able to build the application with klibc if available, with plain gcc otherwise, as follows: $ cd ~/klibc-0.202 $ ... make linux symlink $ make bindir=$HOME/local/bin \ mandir=$HOME/local/man \ INSTALLDIR=$HOME/local \ SHLIBDIR=$HOME/local/shlib \
2006 Jul 13
3
How do I pass parameters to my program when using WINE?
Hello, I'm trying to figure out the proper way of passing parameters to my program that is being run by WINE. I've been trying different things I've found in Google, but none have seemed to work yet. The parameters work in a Windows environment, so I do believe the program is okay. This is on a SUSE/SLES 9 machine using WINE .917. If I want to pass the parameter
2005 Feb 22
2
Custom Menu Not Working
Greetings *`s, I am having what appears to be a small problem, but the frustration is erally getting to me, what am I doing wrong here ? I used AMP to set up a custom menu, so if caller presses 1 it goes to ext200, if caller presses 2 it goes to ext201 etc etc... Now I have created a third option that when the caller presses 3 it must play a sound and hang up. No rocket science yet. When
2006 Nov 13
1
rails+apache2+mongrel_cluster
hey all, I managed to configure a mongrel+apache2 but now I would like to do a mongrel_cluster. For now I have a sites-available/myapp but when it comes to mongrel_cluster I need to set up myapp.common, myapp.proxy_cluster.conf and myapp.proxy_frontend.conf and I couldn''t find a tutorial that explain where should those file go. is it in conf.d or sites-available/ or else? thanx in
2005 Dec 06
4
Errno::E232 (The pipe is being closed.)
I get this error on occasion using both Webrick and Apache2/FCGI: Webrick Debug: [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) [06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is being closed. (Errno::E232) C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in
2006 Nov 04
1
rsync and symbolic links
Hello! I'm using rsync to generate a backup. DATE=`date +%Y.%m.%d.%H.%M.%S` cat files.txt | rsync -avz -e ssh --include-from=- / root@myserver:/backup/$DATE files.txt contains e.g.: - /home/user1 + etc/ + etc/* + etc/.* + etc/*/ + etc/*/* + etc/*/.* + etc/**/ + etc/**/* + etc/**/.* + boot/ + boot/* + boot/.* + boot/*/ + boot/*/* + boot/*/.* + boot/**/ + boot/**/* + boot/**/.* + dev/ + dev/*
2008 Mar 21
1
Which command line is used to send emails to notify incoming voicemail ?
Hi, In exim4, I can see lines such as : mainlog.9:2008-03-12 08:53:28 1JZLmC-0000E7-0A <= root at foo.com U=root P=local S=43802 id=Asterisk-0-123413860-4174-2662 at ipbx-bs-60200 In my voicemail.conf, I see : ; If you need to have an external program, i.e. /usr/bin/myapp called when a ;externnotify=/usr/bin/myapp ; If you need to have an external program, i.e. /usr/bin/myapp called when a
2006 Feb 16
1
setting the right routes
I''m trying to create an admin section in my application which can be accessed through www.myapp.com/admin. I''m going to need to administer two models through the admin section. I have a generated the controllers for Admin::Image and Admin::Project. That created a subdirectory under the controllers directory called admin and I can access each controller through
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine. Now I am accessing it over LAN. When I enter http://mymachinename/myapp it opens fine but when I click on any link in my rails app, it replaces mymachinename with localhost (http://localhost/myapp/controller/action) and thus I am unable to access it from remote location.
2006 May 08
4
Gettext not worked in firefox,but done well under IE
Anyone who has met such a kind of problem? I am adding i18n characteristics to my webapp using gettext,it works under IE,while not under firefox. here is my codes: po: po\zh_CN\myapp.po after rake makemo, i have got: locale\zh_CN\LC_MESSAGES\myapp.mo require ''gettext/rails'' class ApplicationController < ActionController::Base init_gettext "myapp" end Then I use
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
I''m playing with the mongrel clustering, and am having a problem getting 2 mongrels to start up reliably. This should be a pretty simple cluster, with just 2 instances running. My mongrel config (mongrel_cluster.yml) looks like: cwd: /deployment/installed/myapp/current log_file: log/mongrel.log port: "8000" environment: production address: 127.0.0.1 pid_file:
2017 Sep 17
2
Shiny App inside R Package
Dear List, I have a wrapper function that creates a Shiny App, as illustrated below. I'd like to include the function myApp() inside a package. I'd appreciate your guidance here, as I could not find good instructions on this online. myApp <- function(x) { require(shiny) shinyApp( ui = fluidPage( sidebarLayout( sidebarPanel(sliderInput("n",