Posts Tagged “Ruby”

Using Fixtures with Funky Table Names

by Ryan Schenk on July 16, 2008

If you have an AR Model whose table name does not follow the convention, and you have needed to set it explicitly using set_table_name. class ChiliDog < ActiveRecord::Base set_table_name ‘dogs_made_of_chili’ end Then your test fixtures file must be named the (…)

Read the rest of this entry »