I've also come up to this oddity and I'd like to know the answer to
the questions pose--is the author of the original code present, or an
otherwise knowledgeable person who could answer?
Duane Johnson
(canadaduane)
On Mar 6, 2006, at 10:06 AM, Francois Beausoleil wrote:
Hi !
I
On Mar 7, 2006, at 11:35 PM, Rick Olson wrote:
On 3/8/06, Duane Johnson <[EMAIL PROTECTED]> wrote:
I get the following for any page load at rev. 3814 on apache in
production mode (but not lighttpd in dev mode, strangely):
wrong number of arguments (2 for 3)
/home/www/socialconference/
m. Rick, could this have to do
with the fix for the white screen of death?
Duane Johnson
(canadaduane)
http://blog.inquirylabs.com/
___
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core
I've got the same thing happening on each page load.
-- Duane
On Mar 2, 2006, at 12:57 PM, Kyle Maxwell wrote:
I'm on revision 3745, and every few minutes, I have to restart
Webrick. Trace follows:
uninitialized class variable @@connection_cache_timeout in
ActiveRecord::Base
RAILS_ROO
#3246: RJS Templates need better replace semanticsJust checking up on this patch since the discussion around the net seems to conclude that it's a good thing. Sam, is this patch soon to be accepted, or is there some hesitation? Duane Johnson(canadaduane)http://blog.inquirylab
example: public/javascripts/admin/
new.js, or public/stylesheets/admin/base.css. Of course, this only
works with assets and resources that assume quite a bit about the
app's controllers and views.
Duane Johnson
(canadaduane)
http://blog.inquirylabs.com/
__
On Jan 27, 2006, at 9:03 AM, Norman Timmler wrote:
Today i came to point where nested validation could make my code more
DRY. My question is, if anything like this planed?
Example:
Maybe you only want to display different error messages if an
attribute
is blank or has the wrong format.
va
On Jan 26, 2006, at 2:42 PM, David Heinemeier Hansson wrote:
Option #1: Add a "tmp" folder to the Rails app directory structure
and store
session files in "#{RAILS_ROOT}/tmp". If each app has its own tmp
folder,
we could instruct it do something like this inside of the Rails
initializer:
on' task :clear_tmp => :environment do # presuming RAILS_TMP is either defined by the user, or set by default: # RAILS_TMP = File.join(RAILS_ROOT, 'tmp') unlessObject.const_defined?(:RAILS_TMP) FileUtils.rm_r(RAILS_TMP) end desc 'Clean applica
ill be no conflict between rails appsb) Apps can benefit from the change immediately (no need to generate a UUID with railties)c) We'll finally have a place to put those pesky fastcgi socket filesd) Other plugins may benefit from a tmp/ folder, e.g. file_column?Ca
and then eval() it. I'm not sure if it's the best
method.
Anyway, how this impacts your patch and plugin, I'm not sure. I
think it merely means that sequence doesn't matter for the
javascript_include_tag method call.
Regards,
Duane Johnson
(canadaduane)
http://blog.inqui
On Jan 16, 2006, at 11:05 AM, DeLynn Berry wrote:I just created a Trac ticket with an Enhancement Patch to the AssetTagHelper, but figured I would post a note here as well to open up discussion of this addition (if any existed). Hey DeLynn,I'm curious about the implication of sequence in including
alk about it sounds like that's the case.
If you use :back because you can't remember request.env
['HTTP_REFERER'], and then find that your application redirects
infinitely, you're going to have to pull the ugly details out and fix
it anyway. Doesn't seem t
_controller', :action => 'alt_action'
redirect_to :referring_url, :controller =>
'alternative_controller', :action => 'alt_action'
redirect_back_otherwise :controller => ...
sound better to me. I'd really like to see this in the core.
Duane Johnson
(c
Here's a gentle nudge for ticket #1911 (more flexible fixtures). Can
we get this integrated soon?
Duane Johnson
(canadaduane)
http://blog.inquirylabs.com/
___
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrail
ards/
and you can see all the fixes working here
http://fortytwo.merseine.nu/howards/news
in case either of you are doubting thomases like i am.
thanks for the great software - hopefully this info will help you.
cheers.
Wow, Ara. Thanks for the thorough treatment and resolution of the
so, I wonder if Sebastian has any comment on
implementation choices that he had to make.
Duane Johnson
(canadaduane)
http://blog.inquirylabs.com/
___
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core
ts stored in the session. If such a thing existed, we could then test to make sure the session's APP ID matches the current APP ID. Otherwise, bust an exception.I think the best place to put the unique APP ID would be in the railties code so a UUID is created whenever a new rails app is gene
This is from the rails mailing list:
On Jan 1, 2006, at 4:00 PM, Duane Johnson wrote:
I thought I knew the answer to this question ('yes'), however,
recently I've been trying to build an app that detects whether or
not the administrator has correctly configured the database.
ng for advice on how to implement this feature
into the Rails code base or would like some kind of peer review for
your idea or code).
I'll send a message to the rails list with my thoughts on this
situation.
Duane Johnson
(canadaduane)
http://blog.inquirylabs.com/
_
xibility is necessary for
Engines also.
Thanks,
Duane Johnson
(canadaduane)
http://blog.inquirylabs.com/
___
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core
the
state of things are.
Duane Johnson
(canadaduane)
___
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core
t would be a lot easier
to implement. As you suggested, the above method would rely on some
before_filter setting a cattr_attribute (such as :language) so that
our base path could be configured on a per-request basis.
Duane Johnson
(canadaduane)
___
I submitted a patch some time ago that I'd like some feedback on. It seems like a good idea to me that we make an official way to provide alternate paths for view files. A lot of hacks have cropped up that could be consolidated (e.g. the "Falling through to default templates" thread, engines, plu
On Dec 7, 2005, at 2:23 PM, Francois Beausoleil wrote:
So, we do in fact have to gobble up the class methods. Maybe this is
an instance of Ruby being too helpful ?
class RubyBeingTooHelpful; end
instance = RubyBeingTooHelpful.new
:)
Sorry, couldn't resist.
Duane
___
On Dec 7, 2005, at 12:45 PM, Rick Bradley wrote:
* Duane Johnson ([EMAIL PROTECTED]) [051207 14:30]:
As for the remaining variable, the port, it seems reasonable to
include it in the :host. Or else we can add another delimiter such
as a pipe:
map.connect 'proto://:host|:port/:contr
lude it in the :host. Or else we can add another delimiter such
as a pipe:
map.connect 'proto://:host|:port/:controller/:action/:id'
I'd rather this last option than combining the port in with :host.
Combining them might cause difficulty when moving bet
27;transaction', 'quote' have already been taken in
models of class Game. You will have to rename your columns to not
conflict with pre-existing method names.
(ActiveRecord::ColumnNameAlreadyTaken)
I didn't catch what was unlikable abou
mbol should be match
against the host". In the example URLs above, the :host Regexp will
be compared with "one.localhost" and "one.mydomain.com".
I think it would be natural for most developers to prepend a '//'
since it closely follows the URI format
29 matches
Mail list logo