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.

Peter Abrahamsen's latest activity

Tuesday, April 12 2011
2350 [PATCH] LogTailer ignores config.log_path was updated in Ruby on Rails
  • Peter Abrahamsen
    Peter Abrahamsen commented at 11:06 PM

    Umm, bump. This is a really obvious and fatal bug. I'm monkey-patching to get by for now.

Wednesday, April 06 2011
6310 Rails Guide Update - ActiveRecord Transaction Callbacks was updated in Ruby on Rails
  • Peter Abrahamsen
    Peter Abrahamsen commented at 7:32 PM

    This is great, thanks for doing it. I would like to see it explain the behavior around nested transactions. The desired behavior, and I think this is what AR im...

Friday, December 18 2009
1939 Bad routing recognition with globbing/format/requirements was updated in Ruby on Rails
  • Peter Abrahamsen
    Peter Abrahamsen commented at 7:52 PM

    Bump for great justice; this is really annoying.

Wednesday, August 19 2009
3070 AssociationProxy#send should pass through a block was updated in Ruby on Rails
  • Peter Abrahamsen
    Peter Abrahamsen commented at 3:14 AM

    FWIW, this is:
    ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
    Rails 2.3.2, but it looks like 2.3.3 has the same code.

  • Peter Abrahamsen
    Peter Abrahamsen created the ticket at 3:13 AM

    I'm trying to call a method we've added to Array which takes a couple arguments and a block. AssociationProxy does not pass the block through to Array, which fa...

Wednesday, July 08 2009
2881 Can't define accessors for serialized attributes was created in Ruby on Rails
  • Peter Abrahamsen
    Peter Abrahamsen created the ticket at 3:58 AM

    Hi there. With ordinary attributes, I can write an accessor like this:

    class Foo < ActiveRecord::Base
      # column :foo, :integer
      def foo
        read_attribute(:f...
Tuesday, March 31 2009
2381 ActionMailer shouldn't create multipart message with one part was created in Ruby on Rails
  • Peter Abrahamsen
    Peter Abrahamsen created the ticket at 2:37 AM

    Hi there,

    I just had a problem where we had a text/html message template, identified by its filename extension, as the only part of the message. ActionMailer se...

Wednesday, March 11 2009
2206 feature: choose serialization method for a column was created in Ruby on Rails
  • Peter Abrahamsen
    Peter Abrahamsen created the ticket at 2:43 AM

    I'd like to be able to have an alternative to YAML serialization for columns. I'd specifically like JSON serialization, but I suppose other people will want oth...

Thursday, December 18 2008
1594 ActionController always renders JS/JSON for XHRs was updated in Ruby on Rails
  • Peter Abrahamsen
    Peter Abrahamsen commented at 12:34 AM

    I've commented out action_controller/request.rb:182,183 (template_format, the elsif xhr? clause) and my life went back to normal.

  • Peter Abrahamsen
    Peter Abrahamsen created the ticket at 12:01 AM
    • Make two templates for an action, one .html.erb and the other .js.erb
    • Make a get request that will be routed to that action with X-Requested-With: XMLHttpReque...