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.

Mark Foster's latest activity

Monday, April 12 2010
3698 Tests and model not based on activerecord was updated in Ruby on Rails
  • Mark Foster
    Mark Foster commented at 10:07 PM

    I suspect you are getting this because in test_helper.rb you have the fixtures setting:

    fixtures :all

    Comment that out and specify individual fixtures for your ...

Monday, February 01 2010
3624 Fix Array#to_xml to produce valid markup when working with namespaced classes was updated in Ruby on Rails
  • Mark Foster
    Mark Foster commented at 1:17 AM

    +1 Found the same bug and developed the same fix, unawares at ticket 3824. Solves the problem.

Sunday, January 31 2010
2723 to_xml generates invalid xml with namespaced ActiveRecord was updated in Ruby on Rails
3824 to_xml generates invalid xml for arrays of namespaced ActiveRecords was updated in Ruby on Rails
Saturday, January 30 2010
2723 to_xml generates invalid xml with namespaced ActiveRecord was updated in Ruby on Rails
  • Mark Foster
    Mark Foster commented at 5:36 PM

    Gentlemen. Have found that all this work to fix this breaks down when the ActiveRecord is in an array since the active_support/core_ext/array/conversions.rb
    to_...