Worked Perfectly. Thanks.
Pratik wrote:
> Instead of using rake, do it like :
>
> ruby -I"connections/native_mysql" base_test.rb -n whatever_test
>
>
>
--
http://www.5valleys.com/
http://www.workingwithrails.com/person/8078
--~--~-~--~~~---~--~~
You receive
I'm investigating something that I'm not sure if it's a problem with my
app, or with Rails. I'm writing an active_Record test in base_test.rb
to check it (and finding that it's passing when I don't think it
should). I'd like to run this test all by itself so I can easily tail
the debug.log to se
Given the following..
Foo has_many :bars
Bar has_many ::widgets
Widget has_many :gadgets
Gadget has_many :parts
All of the following are now possible...
@foo.bars
@bar.widgets
@part.gadget.widget.bar.foo
However, I can't just do the opposite of that last one...
@foo.bars.widgets.gadgets.parts
Michael Koziarski wrote:
>> [7369] doesn't include any tests showing that it fixes anything (I thought
>> that was one of the new rules!? ;-) ), nor do the comments with the revision
>> give any hints to it's purpose or ticket it closes. I'm not seeing the
>> benefit and it's definitely going to i
Those of us that need to use custom inflections with RESTful route path
helpers know that routes get loaded before custom inflections get set in
the environment ( http://dev.rubyonrails.org/ticket/6829 ). However,
we've had a simple workaround for this by forcing the routes to reload
in the environ
Following Josh Susser's presention at RailsConf on contributing to Rails
Core, I was (still am) pretty fired up about doing my part. I managed
to corner Josh at the on_exit reception and he suggested that for
starters I find a ticket with a patch that didn't include a test, and
write a failing tes