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.

McClain Looney's latest activity

Wednesday, February 17 2010
3527 undefined method `destroyed?' for ActiveRecord::Associations::BelongsToAssoci... was updated in Ruby on Rails
  • McClain Looney
    McClain Looney commented at 10:42 PM

    i've just run into this using has_many_polymorphs in conjunction with will_paginate and accepts_nested_attrs_for. Bit of a show stopper for us unfortunately. ha...

Friday, January 23 2009
1794 close this ticket. was updated in Ruby on Rails
  • McClain Looney
    • Title changed from to_query(arg) seems to fail for nested hashes to close this ticket.
    by McClain Looney at 9:34 PM
  • McClain Looney
    McClain Looney commented at 9:33 PM

    nevermind, some vendored gem had its own to_query...

    close this.

  • McClain Looney
    McClain Looney commented at 9:27 PM

    very stupid patch that seems to do what i want:

    @@ -45,7 +50,8 @@
     
             (only_keys || hash.keys).each do |key|
               if value = hash[key]
    -          ...
  • McClain Looney
    McClain Looney commented at 9:25 PM

    (and ruby 1.8.6 and 1.8.7 on osx)

  • McClain Looney
    McClain Looney commented at 9:25 PM

    (tested on edge and 2.2.2)

1 earlier change…
  • McClain Looney
    McClain Looney created the ticket at 9:24 PM

    Ignore this ticket. Found the root of the problem, not related to rails.