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.

Michael Schuerig's latest activity

Friday, September 10 2010
5578 AbstractController#asset_path overrides routes helper was updated in Ruby on Rails
  • Michael Schuerig
    • Tag changed from actionpack rails3, invalid to actionpack rails3
    by Michael Schuerig at 11:54 PM

    I've tried this again in a fresh app on 3.0.0 and it still breaks. I can't test on Rails Edge, as apparently bundler can't resolve dependencies right now (somet...

Wednesday, September 08 2010
5578 AbstractController#asset_path overrides routes helper was created in Ruby on Rails
  • Michael Schuerig
    Michael Schuerig created the ticket at 7:14 AM

    Commit 2af8fd2829ec573ef7da8a44d31e5f25ef4a8408 introduces a new method, #asset_path, into AbstractController. Unfortunately, this method overrides a method of ...

Thursday, June 24 2010
4959 [PATCH] Make rails console load ~/.railsrc and RAILS_ROOT/.railsrc was created in Ruby on Rails
  • Michael Schuerig
    Michael Schuerig created the ticket at 8:24 PM

    Here's tiny patch that makes rails console load ~/.railsrc and RAILS_ROOT/.railsrc.

    I find it useful to define general and project specific utility methods for ...

Tuesday, June 30 2009
2857 Setting schema_format in config/environments/test.rb does not work was created in Ruby on Rails
  • Michael Schuerig
    Michael Schuerig created the ticket at 4:23 PM

    The application skeleton generated by rails suggests that the schema format can and should be set in config/environments/test.rb. This doesn't work, unfortunate...

Sunday, June 14 2009
2419 [Patch] Raise specific exceptions for violated database constraints was updated in Ruby on Rails
  • Michael Schuerig
    Michael Schuerig commented at 6:49 PM

    As Sava points out, ActiveRecord tests are not compatible with PostgreSQL versions older than 8.2. Am I right in taking this as evidence that these older versio...

Monday, May 25 2009
2186 Anonymous extension modules for all associations was updated in Ruby on Rails
  • Michael Schuerig
    Michael Schuerig commented at 2:32 AM

    I have a has_one :through association through an ordinary has_many association. If the has_one :through does not match any object, either because there aren't a...

  • Michael Schuerig
    Michael Schuerig commented at 1:34 AM

    +1

    I just found this ticket while researching why the anonymous extension didn't work as I was expecting.

Thursday, May 21 2009
2684 Modular Rails info was updated in Ruby on Rails
  • Michael Schuerig
    Michael Schuerig commented at 4:49 PM

    I've attached a somewhat cleaned up version of the patch. It adds the feature that properties files at lib/info/properties/*.rb are loaded.

    The controller tests...

  • Michael Schuerig
    Michael Schuerig commented at 3:54 PM

    James, as you noticed yourself, displaying static information was not my primary aim, although I see no reason why the information available from plugin#about (...

  • Michael Schuerig
    Michael Schuerig commented at 9:26 AM

    Oh, sorry, of course there is documentation missing. I didn't bother to adapt the tests, either. I only intended the patch as a proof of concept. Firstly, to se...