search for: fixture_ord

Displaying 1 result from an estimated 1 matches for "fixture_ord".

Did you mean: fixture_order
2007 May 21
2
Rails'' fixtures suck! But what about something like this?
...ip_id zips(:portland) longitude zips(:portland).longitude latitude zips(:portland).latitude } ------------------------------- This is much easier to deal with than the other way around. This also introduces dependencies between fixtures, I thought the easiest way to handle it would be adding a fixture_order configuration: ------------------------------- Spec::Runner.configure do |config| config.fixture_order = :zips, :categories, :users, :posts end ------------------------------- + What''s not solved with this I haven''t figured out a good way to handle counter_cache columns. Ri...