Displaying 8 results from an estimated 8 matches for "kuwayama".
Did you mean:
kitayama
2006 Dec 11
2
Does mongrel look at the Rails page cache?
...equest proxy:balancer://mongrel_cluster/ [OK]
---
(As opposed to "go-ahead with /var/sites/production/public/
index.html", if the user''s not logged in.)
Problem: The static file is still being served to the browser. Can
anyone tell me what I''m missing here?
Shinji Kuwayama
shinji at kuwayama.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061210/61cbe612/attachment.html
2006 Jul 12
3
Most efficient way to "increment" a string?
I have members with usernames. In the event that a new member requests
an already-existing username, I''d like to automatically "increment" a
next-best string:
johnny
johnny1
johnny2
Knowing RoR, my gut tells me there''s some elegant, concise way to do
this, but I can''t think of it. Any advice?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 05
1
ActionMailer in production vs development environments?
I''m using ActionMailer to write an email message; for the time being I''m
creating an email object, but rendering it in the browser instead of
sending it. I have code like this:
email = PasswordMailer.deliver_confirm(@member)
render(:text => "<pre>" + email.encoded + "</pre>")
This works great in the development environment but throws a Rails
2006 Mar 14
11
how to work with a designer
I am considering trying Rails out on a small web project where I will be
working with a designer. What is the typical workflow and relationship
for this:
1 have the designer learn rhtml
or
2 have the programmer take html mock ups and turn them into rhtml
In the past I have used Django (also very nice), which has a fairly
accessible (ala php) templating language.
Thanks,
David S.
--
Posted
2005 Dec 29
8
First module gives "unknown action"
Hi, I''m using "Agile Web Dev. w/Rails", which is great but has a minimum
on grouping controllers into modules. I''ve successfully generated a
module scaffold, so I have:
app/controllers/admin_controller.rb
app/controllers/admin/things_controller.rb
(And the rest of the scaffold output, which seems normal.) However,
browsing to http://localhost:3000/admin/things/
2006 Apr 08
0
What does SystemExit mean in this context?
I''m using the very cool Exception_Notification plugin to receive error
reports. Occasionally, I get one of these:
<pre>
A ActiveRecord::StatementInvalid occurred in [controller]#[view]:
SystemExit: exit: SELECT * FROM table WHERE (some_id = 1335) ORDER BY
position LIMIT 1
[RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
2006 Mar 14
0
Trouble running script/indexer at Dreamhost
Heyo -- I''m trying to use SearchGenerator/SimpleSearch at Dreamhost, and
I have only one problem. When I run "script/indexer", it runs too long
and is killed off by procwatch.
So far I have tried:
* Reducing the number of indexed models/fields
* "nice"-ing the script to 19
* Running the script offpeak (12-3am PST)
It''s still getting killed. Any ideas on
2006 Jun 04
4
"can''t convert Magick::GravityType into Integer"
Am having trouble with file_column -- on certain crop operations, it
says:
A TypeError occurred in [controller]#[action]:
can''t convert Magick::GravityType into Integer
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''
Any advice? Here''s the backtrace:
[RAILS_ROOT]/vendor/plugins/trunk/lib/magick_file_column.rb:90:in
`crop''