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.

This project is archived and is in readonly mode.

DRY with_kcode in ActiveRecord tests

#1705

with_kcode() is defined two times in ActiveRecord tests. In ActionPack this repetition is avoided defining it in module TestingSandbox and including it where needed.

The attached patch does the same with ActiveRecord.

Reported by Marcello Nuccio · January 7th, 2009 @ 01:13 AM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Pratik
    Pratik
    • Tag set to patch
    • State changed from new to resolved

    Fixed a little diffirently in http://github.com/rails/rails/co...

    March 7th, 2009 @ 11:07 AM