[Rails-core] Re: infinite loop

2008-04-10 Thread Rick Olson
On 4/10/08, Hendrik Mans <[EMAIL PROTECTED]> wrote: > > I apologize for the bad thread title; I'd included the faulty revision > number in it, but Google Groups must have removed it. Sorry! I was getting this too. I'm going to revert the commit. Thanks for the small test case, we should be ab

[Rails-core] Re: Adding to the tables defined for AR's unit tests

2008-04-10 Thread Jordi Bunster
On Apr 10, 2008, at 7:12 PM, Michael Koziarski wrote: I personally have an EC2 image I use to test rails on all the other open source databases. That sounds very useful. Is that an AMI you can make public? -- Jordi smime.p7s Description: S/MIME cryptographic signature

[Rails-core] Re: Adding to the tables defined for AR's unit tests

2008-04-10 Thread Michael Koziarski
> Ideally to test this I'd need a bunch of tables with interesting table > & column names. What's the policy on adding to the tables/models using > in tests? Just do it ? Also I noticed there's a whole bunch of files > in schema for different databases: does one need to add the > declaration

[Rails-core] Adding to the tables defined for AR's unit tests

2008-04-10 Thread Frederick Cheung
Hi, I noticed that in the association_preload there are a number of FIXMEs that all boil down to the fact that I ignored table/column name quoting when i first wrote it up. Ideally to test this I'd need a bunch of tables with interesting table & column names. What's the policy on adding to

[Rails-core] Transaction as a reserved *instance* method

2008-04-10 Thread Aaron Pfeifer
Is there a historical reason why #transaction is defined as both an instance and class method within ActiveRecord models? I bring this up specifically because it prevents us from using "transaction" as an association name like so: class PaymentTransaction < ActiveRecord::Base end class PaymentA

[Rails-core] Re: infinite loop

2008-04-10 Thread Hendrik Mans
I apologize for the bad thread title; I'd included the faulty revision number in it, but Google Groups must have removed it. Sorry! Hendrik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.

[Rails-core] [9247] infinite loop

2008-04-10 Thread Hendrik Mans
Hi everyone, http://dev.rubyonrails.org/changeset/9247 just broke some stuff in my application in a fun way. I believe it only affects this very specific edge case, though: class Picture belongs_to :user end class User has_many :pictures, :dependent => :destroy belongs_to :picture # this

[Rails-core] i18n patch for Rails, please support :)

2008-04-10 Thread Ivan el Magnifico
Hi, A couple of months ago I created a patch to allow different action names for new/edit when defining resources. It's very simple and I hope we can see it included in Rails. However I still need more support on http://dev.rubyonrails.org/ticket/11181 to be able to request inclusion. Could you

[Rails-core] has_many :through a polymorphic has_many - Broken Again

2008-04-10 Thread Douglas Shearer
Hey guys. Having a has_many :through a polymorphic has_many relationship just wasn't possible prior to Changeset 8776. It was great having it fixed, but now it is broken again. >From my own investigations this happened in either Changeset 9230 or 9231 (Vague because 9230 just consumed lots of r

[Rails-core] Re: Dependencies Quirk

2008-04-10 Thread Xavier Noria
On Apr 10, 2008, at 10:32 , Frederick Cheung wrote: > On 9 Apr 2008, at 22:16, Xavier Noria wrote: > >> >> On Apr 9, 2008, at 22:04 , Frederick Cheung wrote: >> >>> I've a module SecuritySystem::SecretsProxy. >>> SecuritySystem::SecretsProxy::AnyConstant evaluates to AnyConstant >>> (as >>> long

[Rails-core] Re: An overview of Rails 2.1 time zone features

2008-04-10 Thread Frederick Cheung
On 10 Apr 2008, at 05:40, Geoff B wrote: > > I wrote up an introduction to the time zone features in 2.1 -- > hopefully this will help everyone get up to speed with the new stuff: > > http://mad.ly/2008/04/09/rails-21-time-zone-support-an-overview Cool! Thanks for that. Fred --~--~-~-

[Rails-core] Маникюрный набор с косметичко й 10 предметов, металл золотого цвета

2008-04-10 Thread Золотой Клон
Маникюрный набор MS-1204-801 S CASE Футляр-шкатулка из натуральной кожи, состоит из 9 предметов Дорогой и солидный подарок 2 в 1. Максимально полный ассортимент инструментов для маникюра на дому, а также удобная шкатулка для хранения сопутствующих принадлежностей. Футляр в виде шкатулки. Верхняя ч

[Rails-core] Re: TimeZone helper methods...

2008-04-10 Thread subimage
Geoff, wanted to chime in and thank you for rolling that in. I just upped to edge and tested with the new changes. Solved a few bugs I've been having issues with for a looong time that were maddening. Great work on this. On Mar 28, 7:40 am, Geoff B <[EMAIL PROTECTED]> wrote: > > I'd make th

[Rails-core] Re: Dependencies Quirk

2008-04-10 Thread Frederick Cheung
On 9 Apr 2008, at 22:16, Xavier Noria wrote: > > On Apr 9, 2008, at 22:04 , Frederick Cheung wrote: > >> I've a module SecuritySystem::SecretsProxy. >> SecuritySystem::SecretsProxy::AnyConstant evaluates to AnyConstant >> (as >> long as AnyConstant is something Dependencies can load but is not

[Rails-core] Re: Release 9200 produces SystemStackError

2008-04-10 Thread ss1982
Yep, cheers, updating will_paginate has solved the problem. Thanks, Scott On Apr 9, 5:00 pm, "Mislav Marohnić" <[EMAIL PROTECTED]> wrote: > Martin is right, you should update to the latest state of the master branch > or simply install and use the latest version of the gem. > > My suggestion is