[Rails-core] Re: rake dev on 2-3-stable is still broken

2009-10-06 Thread Jeff
On Oct 5, 3:36 pm, John Trupiano jtrupi...@gmail.com wrote: In case it wasn't clear, this command is run from within a local checkout of the rails source, e.g. git clone git://github.com/rails/rails.git cd rails git branch --track 2-3-stable origin/2-3-stable git checkout 2-3-stable cd

[Rails-core] Re: ActiveRecord object cloning

2009-10-06 Thread Paul Gillard
I've created a patch for this change which can be found at https://rails.lighthouseapp.com/projects/8994/tickets/3164. All the tests pass and #clone acts correctly. However I'd really appreciate some feedback on one niggling point regarding when the after_initialize callbacks get run.

[Rails-core] ActionMailer Outside Rails

2009-10-06 Thread GregD
Hi everyone, Has anybody used ActionMailer outside rails? I have googled and found some things, but I can not seem to get it to work for a stand-alone app. The problem is setting the template_root. If I dont' set it, ActionMailer can not find my mail templates. If I try and set it, I get an

[Rails-core] activeresource: rake test: undefined method `mock' `expects' `any_instance'

2009-10-06 Thread Philippe Creux
Hi all, I have few patches for active resource I would like to publish but I can't get the test suite passing. In: rails/activeresource (2-3-stable) Running: rake test Got the following: 1) Error: test_exists_without_http_mock(BaseTest): NoMethodError: undefined method `any_instance' for

[Rails-core] Re: ActionMailer Outside Rails

2009-10-06 Thread Yehuda Katz
We're in the process of reworking AM to work with the new AbstractController. One design goal is making the path to standalone use more clear. For your case, try require action_controller before trying to do any AM stuff :) -- Yehuda 2009/10/6 GregD gditr...@fuse.net Hi everyone, Has anybody

[Rails-core] Re: activeresource: rake test: undefined method `mock' `expects' `any_instance'

2009-10-06 Thread Chad Woolley
On Tue, Oct 6, 2009 at 4:00 PM, Philippe Creux pcr...@gmail.com wrote: I have few patches for active resource I would like to publish but I can't get the test suite passing. In: rails/activeresource (2-3-stable) Running: rake test Got the following:  1) Error: