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.

There was a problem

You must be a member of this account.

Dave Myron's latest activity

Monday, February 28 2011
6354 Psych does not handle symbols in YAML, used in ActiveSupport was updated in Ruby on Rails
  • Dave Myron
    Dave Myron commented at 10:46 PM

    So is there an explanation why this would be happening in 3.0.4? Would some gem cause this problem to rear its head again?

Monday, January 10 2011
5579 Rails3 - accepts_nested_attributes_for reject_if option does not work. was updated in Ruby on Rails
  • Dave Myron
    Dave Myron commented at 12:14 PM

    The proc (or symbol to a method) given to an accept_nested_attributes_for method for a has_one association never runs (for me, on Rails 3.0.3). Did anyone give ...

1912 accepts_nested_attributes_for :reject_if option not honored for has_one assoc... was updated in Ruby on Rails
  • Dave Myron
    • Importance changed from to
    by Dave Myron at 12:09 PM

    Resurrecting an old one. This appears to have regressed somewhere after Feb 11th, 2009 when pete_lacey said the linked-to patch resolves the issue. I'm on Rails...

4254 Assigning nested attributes fails for new object when ID is specified was updated in Ruby on Rails
  • Dave Myron
    Dave Myron commented at 7:37 AM

    Hmm... looks like my suggestion above is exactly what was removed in Rails v3.0.1 because of CVE-2010-3933. That's a bummer.

  • Dave Myron
    Dave Myron commented at 7:33 AM

    In assign_nested_attributes_for_one_to_one_association maybe it ought to look at the persisted? state and, if not persisted, reflect on the association and use ...

  • Dave Myron
    • Importance changed from to Low
    by Dave Myron at 1:03 AM

    I'd like to reopen discussion on this. Consider a three-level nested attribute setup: Something like Subscription -> User -> Credit Card (each accepting nested ...

Friday, January 07 2011
1783 Explicitly setting the content type get overriden by respond_to / render was updated in Ruby on Rails
  • Dave Myron
    Dave Myron commented at 7:40 AM

    Was this fixed in 3.0.2? It appears that, with 3.0.3, :content_type => :html still sets the Content-Type to "html" instead of "text/html".

Thursday, October 21 2010
5247 [PATCH] assert_template wrong behavior for testing layout used to render temp... was updated in Ruby on Rails
  • Dave Myron
    Dave Myron commented at 11:39 AM

    It seems like the patch will no longer catch :layout => false since it does an if expected_layout = options[:layout] - which will never pass if :layout is false...

Tuesday, July 20 2010
3904 bundle group for addition of custom irb helpers to rails console was updated in Ruby on Rails
  • Dave Myron
    • Importance changed from to Low
    by Dave Myron at 6:51 PM

    @codesnik: Did you ever figure out a solution for this. I'm getting this same problem with Ruby 1.9.2-head and Rails 3.0.0.beta4