similar to: Controller Methods gets called twice on single invocation

Displaying 20 results from an estimated 4000 matches similar to: "Controller Methods gets called twice on single invocation"

2006 Feb 24
8
RoR meets .net *cringe*
It was a miserable failure for us. Your best bet is to run on Linux. > 1. Has anyone done any benchmarks with it? Is there any reason this > couldn''t be viable for production loads? (feel free to speculate if you > haven''t) When it finally worked, after two weeks of trial and error (and we can''t reproduce it again) it performs poorly under IIS. It looks
2007 Nov 14
8
Best practice Ruby on Rails on Windows configuration
Hi, I have read many articles on the net today about configuring Ruby on Rails on a Windows server. But there doesn''t seem to a one solution for all on how to configure a new Ruby on Rails server. So I can use some advise with this. I am using a Windows 2003 server and don''t get many request a day. But most of the request are quite heavy. The main focus is on optimizing the
2005 May 23
16
Success - Rails, FastCGI, and IIS / Windows Server
About 17:00 localtime I managed to get fastcgi, Rails and IIS all happy together. Upon success I ripped off my clothes and ran through the village yelling "The future is now!". A PDP-11 geezer stuck his head out a window and said "The future isn''t what it used to be and keep yer shirt on". Modifications were required to dispatch.fcgi and request.rb. The following
2006 Apr 04
21
Rails on IIS
I just spent the last two days trying to get Rails on IIS to work with Windows 2003/IIS 6.0. I think I''ve finally got it working, but it took more googling than I care to describe. Now I''ve got a few questions: 1) Is there some ''official'' Rails on IIS guide on this site on another official ruby site that''s known to work well? 2) If not, can someone
2006 Aug 14
1
Rest, routes, path_prefix and default params
I am trying to use routes with default params to have routes ''/mycompany/departments'' and ''/companies/1/departments'' mean the same thing (both restful routes). When I set up the files as below, I get an error of ''Couldn''t find Company without an ID'' and my log file shows the following .. Processing DepartmentsController#index (for
2006 Dec 27
7
A FastCGI-compliant executable for RubyOnRails
We are looking for a FastCGI protocol compliant RoR executable that can be used to host RoR in FastCGI mode. However, neither Ruby.exe nor Rubyw.exe appear to work with the FastCGI protocol (http://www.fastcgi.com/devkit/doc/fcgi-spec.html). Perhaps we are missing specific command line switches, or environment variables necessary to make this work. Any information much appreciated. Thanks,
2005 Dec 16
25
I Would Really Like to Try RoR but...
it''s been a nightmare trying to set it up. I keep getting a an Application Error message when I try to navigate to a url which should be taken care of by my newly created controllers. For instance, I wanted to test RoR out so I created a MyTest controller which should allow me to navigate something like: http://localhost/rubytest/MyTest but it does not. I have no problem getting
2006 Apr 19
2
Capistrano on Windows
So, I''ve just completed my first develop-test-deploy-wait -fix-test-deploy, and although it was successful it was a nightmare to carry out. Aside from not knowing that sqlite doesnt have a facility to delete columns from tables, the whole operation reeked of "hacked," with multiple command windows open while I sprinted back and forth between my dev machine and the web
2006 Feb 13
8
Anyone have Ruby for IIS installer?
Erwin: We found it''s not worth the time to do this. It won''t work reliably. You''re in for a world of hurt. We''ve given up on the idea after several months of trying (and some great feedback from this list). There are some on this list who claim to have gotten it to work, but that might just be luck. We''re now using Apache on a higher port, and using
2010 Jan 10
7
IIS + Apache + Mongrel: Problem with big data submit form
Hi all, I deployed a Rails application on a Windows Server 2003 machine as follows: + I created two instances of Mongrel at ports 4001, 4002 to serve the application + I set up an Apache instance at port 8080 for balancing load for the two Mongrels => So I can access my website at URL http://mywebsite:8080/ + I want to allow users access my website without typing port 8080 in the URL.
2004 Aug 10
5
bash: /usr/local/bin/rsync: Argument list too long
I get this error when I try to copy a directory with a lot of files: "bash: /usr/local/bin/rsync: Argument list too long" The exact command is: "/usr/local/bin/rsync -rsh=/usr/bin/rsh -r --delete --perms --owner --group /mail/spool/imap/user/wex/* root@192.168.250.68:/mail/spool/imap/user/wex". BUT, if I try tris command it works: "/usr/local/bin/rsync
2006 Feb 22
3
why ''hello world'' doen''t work?
I just learn RoR. I try a ''hello world'' here http://www.smtservers.com/demo/ you can see all my code. I hope ''hello world'' works on the URL. http://www.smtservers.com/demo/say/hello But I get a 404 error. Please help me.Thanks M -- Posted via http://www.ruby-forum.com/.
2012 Mar 12
1
SEM eigen value error 0 X 0 matrix
Using R-studio, I am trying to run a structural equation model and I am running into problems with testing my primary model. Once I specify everything and try to run it I get this error: Error in eigen(S, symmetric = TRUE, only.values = TRUE) : 0 x 0 matrix And when I look at the object for my primary model in my workspace, which is created after I specify it, it lists all my model components,
2005 Mar 06
10
A Nightmare on Rails Street: Windows Lives!
Just spent 40+ hours in two days deploying my app on Windows 2000. Not all the time was Apache/MySql related, but a significant portion was. What a nightmare that was. Unfortunately, the customer is dead-set on "standardizing" by using Windows. So, as I sat there between a Linux box and an AIX box working on this thing, I ran into problems, part of which were: CGI was slow (Dell
2006 Aug 02
15
Rails in a Windows World
I work at an organization that is very wrapped up in Microsoft products. I am trying to get a test application put in however I''m not sure what to do about the infratstructure. If it were up to me we would put in MySQL and Apache or Lighty, however its not up to me. The easiest way to get an application into production at our company would be to use the existing MS SQL server and IIS
2006 Apr 19
6
Shared host (Dreamhost)
I am unable to install gems on my dreamhost server since it''s just shared hosting. I tried unpacking the ferret gem into vendor/ferret, but to no avail. Also how would I recompile the C extensions for the new platform? Any ideas would be greatly appreciated. Cheers, Simon -- Posted via http://www.ruby-forum.com/.
2008 Apr 15
9
Winelibs question.....
Forgive my newbness. I'm pretty fresh to Linux, but trying to port some reasonably sizable windows apps that I have written. Certainly my gui apps appear to work directly with wine. I also have stuff that makes more sense to use with winelibs. I've had no significant difficulties setting up and compiling bits an pieces, basically just to get my orientation sorted. One of my apps is an
2007 Jan 26
10
Camping and DBI
Hi, I''ve been playing around with using DBI instead of ActiveRecord ''cause I just love to beat myself up! ;) Is this an okay way to do this, or is there any other more creative ways? require ''dbi'' module MyApp:Models class DB def self.dbh DBI.connect(''DBI:Mysql:dbname'', ''username'',
2018 Feb 26
2
[networkupstools/nut] Riello IDG400 wrong values & not powering off (#530)
On Feb 26, 2018, at 4:58 AM, Elio Parisi <e.parisi at riello-ups.com> wrote: > > Hi Charles, > this type of UPS doesn't support realtime autonomy calculation, instead a fixed countdown must be used. > > How we can fix non supported values? If a value is not supported, the driver should not publish it with the dstate API. Dhould the driver be modified to not return
2006 May 03
12
Mongrel + RubyOnRails + FileUploads = Problems?
I really like the idea of using Mongrel. But reading the FAQ, I noticed something that might be an issue. It stated: "Ruby on Rails is not thread safe so there is a synchronized block around the calls to Dispatcher.dispatch. This means that everything is threaded right before and right after Rails runs. While Rails is running there is only one controller in operation at a time." So