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.

Nick Quaranto's latest activity

Saturday, August 08 2009
1741 tag_options should properly handle arrays was updated in Ruby on Rails
  • Nick Quaranto
    • Assigned user cleared.
    • Tag changed from bugmash, verified to bugmash
    by Nick Quaranto at 10:02 PM

    Added some tests and refactored Tomasz's implementation. You'll have to apply his patch then mine to get this working cleanly.

1599 Rake test task looks at wrong database was updated in Ruby on Rails
  • Nick Quaranto
    Nick Quaranto commented at 8:27 PM

    That was a minus 1. Seems like LH likes to eat my formatting.

  • Nick Quaranto
    Nick Quaranto commented at 8:25 PM
    1. This seems like a strange use case, I can see it maybe for CI servers and the like, but it doesn't seem helpful enough for normal development.
2893 Rails 2.3.x - "render :text => proc" - problems with output buffer was updated in Ruby on Rails
  • Nick Quaranto
    Nick Quaranto commented at 7:55 PM

    Looks like this is an issue with Rails 3.0 as well, and since the Response class is now under ActionDispatch it needed a new patch. Here's patches for both 2-3-...

  • Nick Quaranto
    Nick Quaranto commented at 5:54 PM

    Looks like ActionController already supports this. From actionpack/test/controller/rack_test.rb:

      def test_streaming_block
        @response.body = Proc.new do |r...
  • Nick Quaranto
    Nick Quaranto commented at 3:43 PM

    Verified with 2-3-stable, used the same example and it breaks with both a proc and lambda.

    2893 master % curl http://localhost:3000/lines/show
    This is line 0
    c...
2425 [PATCH] Add methods on active record to denote whether any associated objects... was updated in Ruby on Rails
  • Nick Quaranto
    Nick Quaranto commented at 6:58 PM

    -1, I don't like the alias_method to has_#{name} and it seems that keeping a similar api to the dirty methods would be better. For example, if a Post has many C...

Monday, July 27 2009
2018 Ruby 1.9 compat: plugin/install git://... always fails in Ruby 1.9 was updated in Ruby on Rails
  • Nick Quaranto
    Nick Quaranto commented at 3:36 PM

    +1 to this, definitely seeing it happen here.

    % rails1.9 -v
    Rails 2.3.3
    % rails1.9 plugintest
    % cd plugintest
    % ruby1.9 script/plugin install git://github.com/...
Thursday, June 11 2009
2792 add verbose output to rails startup if RAILS_VERBOSE_STARTUP env is true was updated in Ruby on Rails
  • Nick Quaranto
    Nick Quaranto commented at 6:21 PM

    I love this idea, but I'm not necessarily sure if this should be in the core. I think this extended out to more parts of the framework could be a great way to b...

Friday, May 01 2009
2592 Plugin routes override application routes was updated in Ruby on Rails
  • Nick Quaranto
    Nick Quaranto commented at 4:21 PM

    +1 for this. During the process of converting Clearance to a Rails engine, we had to hack into the routes loading process so it was possible to override routes ...