similar to: routes.rb

Displaying 20 results from an estimated 6000 matches similar to: "routes.rb"

2006 Jan 12
3
ActionMailer bug?
Hi , I have actionamailer working properly with a template and a model for creating the mail object etc. The whole thing works correctly if I use Webrick.but when I use it on Apache,i get the error which says "template missing".rails is unable to find the template for the mailer object.Hasanyone noticed this? Vivek PS:I am still not using the 1.0 version -------------- next part
2006 May 11
2
pages in /public cant find CSS
Hi everyone, I have a rails project that I''ve been serving via WebBrick at work, and its been working fine (low traffic). For the last few days I''ve been trying to deploy it under Apache which already serves our groups static and PHP pages. I have the dynamic rails part working now, but am having problems with stylesheet references in static pages. My URL using WebBrick was (and
2006 Jan 16
6
the competition?
The ''gmail'' video seems really interesting: http://www.morfik.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060116/385e77f0/attachment.html
2005 Dec 17
1
webbrick and logger output
Hi, When I do: logger.info "hello?" I would expect it to output something from the webbrick output but it doesn''t seem to. Am I doing something wrong? or is there another way of outputting on the webbrick output? Thanks, -- Colin
2006 Feb 19
8
SwitchTower to skip config/ directory
Hello, I am trying to figure out how to use switch tower.I have a local copy of source code and I want to put it on the host.Now I dont want to put directories like config/ because the settings on the host and the one on my machine are different. Any way to do this? Also is svn necessary to use SwitchTower? Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 08
4
rails won''t cache my action
I''ve decided to dive into page caching for my rails app. I''m doing my testing with webbrick and it refuses to display the cached page for a particular action. I''ve modified my paginator helper to put the page parameter in the url so that the paginated page can be used with caching. This works perfectly when the page parameter is in the url (ie browse/2006/2 or
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"
2005 Mar 08
3
Configuring WEBBrick for Port 80
I''ve looked everywhere [except the right place], but I can''t find where to change WEBbrick from listening to port 3000 to port 80. Can anyone point me in the right direction. Thanks Neville _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Jan 10
6
Can we cache user home pages?
Hi Railers, I am trying to create a simple application like a guest book which has users and uses sessions to keep track of which users are logged on. The user''s page is constructed after doing some SQL queries and the user clicks on another link and hits the back button I dont want to regenerate the whole page (which is what happens now) .So I want to use some kind of caching mechanism.
2006 Jan 15
2
What mode does Apache/Rails start in?
Hi , I am using Rails with APache on FC3. While I can control the mode in which rails starts using WEBrick.How do I make APache start in one of the dev/production modes.? Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060115/b823481f/attachment.html
2006 Jan 19
4
Using RoR pluralization rules
Hello, RoR seems to be aware of plurals like category=>categories etc..I Want to be able to use this in my application to relate some keywords.Is it possible ?or does RoR itself use some ruby library? Thanks Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060119/d5660663/attachment.html
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET 192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET /favicon.ico HTTP/1.1" 200 60 - -> /favicon.ico What does /favicon.ico (which doesnt seem to exist in my source) do for Rails? _______________________________________________ Rails mailing list
2006 Jul 29
6
why is webrick running in development mode?
Hi, I changed my environmnet.rb to say PRODUCTION mode, however when I start up a server "ruby scripts/server" a) it runs in development mode (via the logs) - any ideas why? b) why does webbrick run - I thought by default now it was supposed to be lightty Tks -- Posted via http://www.ruby-forum.com/.
2006 Jan 05
8
AJAX to submit form, but reload the whole page
I''m using ROR 1.0 and the included prototype.js to do some AJAX stuff. I''m using the form_remote_tag to submit a login form using AJAX. So, any error/failed login will be displayed using AJAX. But, for successful login, I would want it to reload the wholepage, not just update the <DIV>. How can I achieve this? -- Posted via http://www.ruby-forum.com/.
2006 Mar 31
5
Model reloading problem
Hi all, I''ve a model class Toto in the model directory. I don''t understand why i have to restarts WebBrick to view changes i make in this class FYI : in the development. rb i desabled class cache with config.cache_classes = false Regards Luciano -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 06
4
Lighthttpd not working as default (configuration?)
Hi, On the api doc it is written that if lighttpd is installed, rails will use it as its web server instead of WebBrick. I have installed lighthttpd and verified it works (for example on the default port 80) but when lauching script/server, it still uses WebBrick. I wondering if I need to edit /etc/lighttpd/lighthttpd.conf myself or configure something else. Any idea? Thanks Oscar
2006 Jan 09
6
drag and drop problem
I am working on a resource planning problem. I like to use a nice drag and drop interface for that. E.g. have a box of persons and a box of projects, now I would like to assign a persom to project by dragging it from the available resources box to a recieving project box. I have studied the amazing drag and drop shopping card code listed here http://demo.script.aculo.us/shop What I need to
2005 Dec 28
3
acts_as_taggable query
Hi , I couldnt find any mailing list for this nice plugin so I hope this is not off topic.I just have a basic question here. I already had created a table and a model for the tags and items and the join table and now want to use this plugin but I just cant seem to figure out how to make it use my table instead of the default. class Tag < ActiveRecord::Base # already exists and has the
2006 Apr 08
2
RadRails problems - any ideas
Hi, I''ve followed the rad rails instructions for importing a project and have two issues. First my console tab shows "Console is not available" I don''t know if that''s significant or not, yet. Second, I''ve created a WebBrick server, but it doesn''t respond when I try to start it from withing RadRails. There''s no error shown.
2006 Mar 20
6
Rails and Offline processing
How are you guys handling threads or server processes that have to, for example, process the data in your application on a periodic basis? Cron jobs can do it and then run on the database. But, are there ways to launch threads within the rails application itself. I have heard of WebBrick ways, but I am working with lighttpd, fastcgi? (textdrive if you are really interested).