[Rails-core] Re: [PATCH] Improve id creation for form tags when index specified

2009-09-21 Thread Jason King
Yes, of course, you're right. I had been thinking of the edit scenario in fields_for (which I think would be cool if it did what I suggested when passed true). The excitement of the coincidence confused me, and I didn't really read properly that you were talking about new objects. +1 on

[Rails-core] Re: [PATCH] Improve id creation for form tags when index specified

2009-09-21 Thread Stephen
I'm not sure about passing :index => true since form_for passes along the value of index to fields_for... It seems like this is already the case for forms when the object is not a new object, i.e. form_for(@user) . etc yields wrote: > Ok, this is bizarre timing. I was thinking about this

[Rails-core] Re: Can't dup NilClass

2009-09-21 Thread Luke
I found the solution, at least in my case. I have a class defined in test/mock/development that uses 'require' vs. 'require_dependency'. Changing to require_dependency fixed the problem, which I can understand. I was not (at least it seemed) seeing the same error in test env, where I was using the

[Rails-core] Re: Test running problem

2009-09-21 Thread José Valim
I got the first one fixed on my fork. I will ask someone to merge it. On Sep 21, 10:21 am, Rodrigo Rosenfeld Rosas wrote: > Chad Woolley escreveu:> Hi Rodrigo, I can provide some info... > > > ... > > >> 2 - actionpack: I can't run any test and I get this message: "no such > >> file to load -- r

[Rails-core] Re: Test running problem

2009-09-21 Thread Rodrigo Rosenfeld Rosas
Chad Woolley escreveu: > Hi Rodrigo, I can provide some info... > > ... > >> 2 - actionpack: I can't run any test and I get this message: "no such >> file to load -- rack". But I do have rack 1.0.0 and rack-test 0.5.0 and >> they load with no errors on irb. >> > > ActionPack uses Bundler (h