search for: dupory

Displaying 16 results from an estimated 16 matches for "dupory".

Did you mean: dport
2006 Apr 03
5
Heavy e-mail receive
Performance experts, Normally to receive e-mails is to pipe their content to script/runner individually from a mail server, sendmail or postfix. Doesn''t this configuration run like Apache 1.3 with CGI, meaning for each e-mail a boot of the entire Rails environment and thus low scalability? Is there anything working like lighttpd-fcgi or going toward its approach? DD -- Posted via
2006 Jun 24
5
request.xhr? vs. respond_to
Searched around this forum, but didn''t find an answer for this question. Can you help this newbie understand any overlap and/or difference between request.xhr? and respond_to? If request.xhr? is true, should I expect it wants.js below? respond_to do |wants| wants.html { redirect_to(person_list_url) } wants.js wants.xml { render :xml => @person.to_xml(:include
2006 Mar 17
3
Best debugger for Rails on Linux
A quick survey... what''s the best gui debugging tool for Rails 1.0 on Linux that you''ve used? SW versions? Personally I''ve tried FreeRIDE 0.95 and RDT 0.7.0 in Eclipse 3.1.2. Both are very slow and the latter got quite a few bugs itself. TIA! -- Posted via http://www.ruby-forum.com/.
2006 Apr 04
3
uuidtools across processes
Hello, It seems that there is a small probability of collisions among uuid''s produced by uuidtools'' UUID.random_create() running in concurrent user processes on a host (fcgi)? The ~2 bytes extracted from the randomized clock_sequence make a collision unlikely. http://rubyforge.org/frs/download.php/8572/uuidtools-1.0.0.zip Do I miss something? DD -- Posted via
2006 Jul 26
4
How to Firebug XHR/AJAX requests
Saw a lot of recommendations for Firebug (http://www.joehewitt.com/software/firebug/) on this list. I''ve scanned its docs and tried it--many useful features. But I''m so dense that I can''t get it to spy XHR/AJAX requests and their response on FC5 running Firefox 1.5.0.4 and Firebug 0.4. Can someone tell me how to get to
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
2006 Jun 24
1
DRY up link_to_remote and its url_for
In an attempt to provide a gracefully degradable link_to_remote, I repeat myself every time: <%= link_to_remote(''Signup'', {:url => {:controller => ''user'', :action => ''signup''}}, {:href => url_for(:controller => ''user'', :action => ''signup'')}) %> Looked around the RDoc &
2006 Apr 14
2
Language setting before routing?
When processing a request, where can you obtain the language setting of a user''s browser? I know we can read @request.env["HTTP_ACCEPT_LANGUAGE"] in an action easily. But I need to access it before being routed to a controller''s action... because the accepted language dictates my app''s language setting programmatically and what action to take.
2006 Mar 14
2
RDT and breakpointer
How to get Rails'' script/breakpointer work in RDT 0.7 in Eclipse 3.1.2? I''m new to Rails and have gotten breakpointer working in a csh on Fedora Core 4. Also, the RDT setup works for breakpoints set in straight Ruby code. I''m trying http://www.napcs.com/howto/railsonwindows.html#setupbreakpointer. But a breakpoint set in Eclipse doesn''t get hit at all.
2006 Aug 01
2
The latest & greatest Routing (Rails Edge 4611)
Got a quick question regarding the latest and greatest: module ActionController module Routing SEPARATORS = %w( / ; . , ? ) Why is period (.) one of the separators? As it stands, the new routing code doesn''t recognize ''file.ext'' as the last component of a URL, which is sometimes defaulted to nil. See the generated code below. I don''t know everything
2006 Mar 20
2
breakpointer socket errors?
I''m not sure what has changed that could have caused this, but lately, I''m unable to run the script/breakpointer script with my application. The application is just loaded up as webrick like: => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-03-20 12:42:48] INFO WEBrick 1.3.1
2006 Jul 21
10
Using an image button for "link_to_remote"
All, I want to do an AJAX request using a custom image button. I currently have this as a standard button action using "button_to". What I need is the button equivalent of "link_to_remote". Is there a helper that I can use, or do I need to build it by hand? I see button_to_function(), but that sets me up to call a Javascript function, not post to a Rails action. Or can
2006 May 01
3
Your view on MasterView!
Has anybody tried (or will check out) the MasterView plugin? Anything else similar to or better than this? >From http://wiki.rubyonrails.org/rails/pages/MasterView+Plugin "MasterView is a ruby/rails optimized HTML/XHTML friendly template engine. It is designed to use the full power and productivity of rails including layouts, partials, and rails html helpers while still being
2006 Mar 23
10
Domain Requirements in Routes (Edge Rails)
I saw on the bottom of the following page that you can route requests to different controllers based upon which subdomain is being requested. http://wiki.rubyonrails.com/rails/pages/Routes with_options :requirements=>{:subdomain=>''first.com''} do map.connect '''', :controller => "first/catalog" map.connect ''featured'',
2006 Apr 07
0
Plugins selection & order
A newbie''s question: At the application level, is there a way to specify (1) whether one of vendor/plugins/* and (2) the order of them should be loaded and initialized? I can''t seem to find anything relevant in AWDWR and rails-1.0.0/lib/initializer.rb. TIA! -- Posted via http://www.ruby-forum.com/.
2006 Apr 13
0
Globalize not with Rails 1.1.2
Does anybody have the latest Globalize (r184) working with Rails 1.1.2? I can''t seem to get a very simple example to work: ----- ruby test/unit/news_item_test.rb Loaded suite test/unit/news_item_test Started F. Finished in 0.10109 seconds. 1) Failure: test_add_content_translations(NewsItemTest) [test/unit/news_item_test.rb:49]: <"US Title"> expected but was