search for: railscontroller

Displaying 3 results from an estimated 3 matches for "railscontroller".

Did you mean: mailscontroller
2006 Apr 08
0
Typo and Instant Rails 1.2
..._ENV"] = environment # Added to display environment and port -- Ed Gard STDERR.puts("Environment: #{environment}; Port: #{port}") require "config/environment" ActiveRecord::Base.threaded_connections = false require ''dispatcher'' end class RailsController < SCGI::Controller def initialize(config_file) @config_file = config_file # Added the port for display -- Ed Gard configure_rails(config[:env], config[:port]) super(RailsProcessor.new(config)) end </typo:code> Checkout the Typo head at *svn checkout svn...
2006 Apr 27
0
rails prettyurl''s
...eweb.com/someweb/somepage.php the code in the somepage.php file will use curl (remote http call) to load the rails application into its layout. now the problem is that all the urls (links, forms) generated by the rails application will leave somepage.php and point to something like www.someweb.com/railscontroller/railsaction/id/ what i tried to do was to tell rails to just use GET params for the controller/action/id instead of the directory structure. after failing for a while now, i played around with routes.rb and also looked into the .htaccess file, i hope that i can get some help here. interesting is...
2006 Apr 12
4
Instant Rails SCGI Problem
I have installed instant rails and configured it http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started I can get typo and webrick to work on webrick localhost:3000 but cant get anything to work with scgi. When i start the scgi server i get a blank dos window screen. When i type www.mycookbook.com into the browser i get the following Unable to connect Firefox can''t