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.

Murray Steele's latest activity

Tuesday, December 01 2009
3533 Backport :inverse_of from 3.0 to 2.3.x was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 9:24 PM

    Um... that 2nd link should be to https://rails.lighthouseapp.com/projects/8994/tickets/3513-inverse_... not back to this one.

  • Murray Steele
    Murray Steele commented at 9:21 PM

    Also, note that George Ogata has a couple of other tickets ([1], [2]) about improving the inverse_of functionality. We should probably apply them to edge and 2-...

  • Murray Steele
    Murray Steele created the ticket at 9:14 PM

    Speaking to Eloy DurĂ¡n on IRC it turned out that some other issues raised against 2.3.x would be solved more easily if the :inverse_of functionality was availab...

Wednesday, August 05 2009
2577 When using ActiveRecord::Associations outside of Rails, a NameError is thrown was updated in Ruby on Rails
  • Murray Steele
    • Tag changed from 2.3.2, activerecord, association to 2.3.x, 3.0, activerecord, association
    by Murray Steele at 5:32 PM

    The same is true if you try to use ActiveRecord::Validations. The similarities are that both active_record/validations.rb and active_record/associations.rb both...

Monday, July 13 2009
2815 nested models: build should directly assign the parent was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 9:09 AM

    As the author of the :inverse_of patch, I have to say I agree with it not slipping into a 2.3.x release when it didn't make 2.3.0. That said, all is not lost, y...

Monday, May 04 2009
1619 Support for :inverse option in associations was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 10:53 PM

    Yeah, with a bit more thought I get the point your code snippet makes.

    Like you though, I can't really come up with a way of making a belongs_to with an inverse...

  • Murray Steele
    Murray Steele commented at 8:43 PM

    I think this might be because #object_id is one of the few methods that AssociationProxy doesn't delegate:

    http://github.com/rails/rails/bl...

Friday, May 01 2009
1619 Support for :inverse option in associations was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 4:22 PM

    I've reworked the patch. The one thing that I'm not sure about is that now it throws an exception if you supply an :inverse_of that doesn't exist, but it just s...

Thursday, April 30 2009
1619 Support for :inverse option in associations was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 12:11 PM

    Michael Koziarski. I'll put together a new patch with your suggestions. However, just to clear some of them up:

    1. I'll use :inverse_of instead of :inverse as the...
Friday, February 20 2009
2015 text_area_tag should escape contents by default was updated in Ruby on Rails
  • Murray Steele
    Murray Steele commented at 4:05 PM

    +1

    Looks good to me. Also a pretty sensible addition.