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.

Mike Gehard's latest activity

Wednesday, February 09 2011
6328 Give more information about validation methods that need to be overridden was updated in Ruby on Rails
  • Mike Gehard
    Mike Gehard commented at 1:35 PM

    I found a couple more instances of where additional text would be helpful. I have recreated the patch to include the new additions. The enhance_abstract_method_...

Friday, January 28 2011
6328 Give more information about validation methods that need to be overridden was updated in Ruby on Rails
  • Mike Gehard
    Mike Gehard commented at 7:47 PM

    Seems to be a problem with Chrome...I uploaded this patch from Firefox.

  • Mike Gehard
    Mike Gehard commented at 7:45 PM

    Seems that Lighthouse won't allow me to attach a file...

Monday, January 24 2011
6328 Give more information about validation methods that need to be overridden was created in Ruby on Rails
  • Mike Gehard
    Mike Gehard created the ticket at 12:47 AM

    ActiveModel::Validator and ActiveModel::EachValidator require subclasses to implement different methods. Currently these methods simply throw a NotImplementedEr...

Tuesday, August 10 2010
3510 has_many .build does not set reverse reflection was updated in Ruby on Rails
  • Mike Gehard
    Mike Gehard commented at 3:40 PM

    Neeraj,

    Can you point me in the direction of the commit that fixed this? I would like to take a look to see how you fixed it as a learning experience.

    Thanks,
    M...

5247 assert_template wrong behavior for testing layout used to render template? was updated in Ruby on Rails
  • Mike Gehard
    • Tag changed from patch to activesupport, patch, rails3
    by Mike Gehard at 3:35 PM
Monday, August 02 2010
5247 assert_template wrong behavior for testing layout used to render template? was updated in Ruby on Rails
  • Mike Gehard
    • Tag set to patch
    by Mike Gehard at 4:01 PM

    Here is the patch that makes checking for layouts independent of checking for partials.

Friday, July 30 2010
5247 assert_template wrong behavior for testing layout used to render template? was updated in Ruby on Rails
  • Mike Gehard
    Mike Gehard commented at 3:40 PM

    I have confirmed that assert_template does not work as you would expect and as the tests show in /actionpack/test/controller/layout_test.rb.

    Example:
    class HasO...

  • Mike Gehard
    Mike Gehard created the ticket at 5:53 AM

    I am wondering why testing that a specific layout was used to render a template is dependent on you first testing that a partial is being rendered. From the cod...

Tuesday, July 27 2010
3510 has_many .build does not set reverse reflection was updated in Ruby on Rails
  • Mike Gehard
    Mike Gehard commented at 9:04 PM

    One workaround for this is to remove the validates_presence_of :category and rely on a foreign key constraint on category_id (NOT NULL). This is OK as long as y...