Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Steffen Bartsch's latest activity

Tuesday, October 13 2009
3368 Allow ActiveResource to use IntegrationTests for requests was updated in Ruby on Rails
  • Steffen Bartsch
    Steffen Bartsch commented at 3:53 PM

    Taryn, I suppose that you are asking for limitations compared to full stack tests with ActiveResource querying a server instance. I haven't stumbled over any, y...

Monday, October 12 2009
3368 Allow ActiveResource to use IntegrationTests for requests was created in Ruby on Rails
  • Steffen Bartsch
    Steffen Bartsch created the ticket at 2:52 PM

    HttpMock is great to test the client side of a REST API. But if you're responsible for client and server side, it makes sense to do full end-to-end tests from y...

Friday, October 02 2009
1812 default_scope can't take procs was updated in Ruby on Rails
  • Steffen Bartsch
    Steffen Bartsch commented at 9:42 AM

    Brian, is there any reason not to use the default-by-block function of Ruby's Hash implementation? I.e.

    Hash.new {|hash, key| key == :conditions ? {:a_column =...
Sunday, April 26 2009
2357 Predictable Table Aliases in Joins was updated in Ruby on Rails
  • Steffen Bartsch
    Steffen Bartsch commented at 11:17 AM

    I'd say, we should have both, a way of predicting table aliases for complex named_scopes and an easy mechanism for nested conditions as you propose, Brian.

    The ...

Friday, March 27 2009
2357 Predictable Table Aliases in Joins was created in Ruby on Rails
  • Steffen Bartsch
    Steffen Bartsch created the ticket at 2:36 PM

    Right now, ActiveRecord assigns table aliases for association joins fairly unpredictable. The first association to a certain table keeps the table name. Further...

Monday, March 09 2009
2063 Choosing join operator for hash joins was updated in Ruby on Rails
  • Steffen Bartsch
    Steffen Bartsch commented at 4:56 PM

    Yes, this needs some more discussion. Wasn't meant to block 2.3.

Monday, March 02 2009
2063 Choosing join operator for hash joins was updated in Ruby on Rails
  • Steffen Bartsch
    Steffen Bartsch commented at 8:26 AM

    I understand this objection. The syntax for per-join selection of join operators would be quite ugly, though. But it is really not helpful to resort to :include...

Tuesday, February 24 2009
2063 Choosing join operator for hash joins was created in Ruby on Rails
  • Steffen Bartsch
    Steffen Bartsch created the ticket at 10:18 PM

    Hash join parameters are great for named_scopes. In particular, if those are about to be chained. The developer can easily add additional joins even if joins in...