search for: dataset_id

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

Did you mean: dataset_ab
2006 Apr 04
1
has_many fails where find_by_sql succeeds
...Test < Test::Unit::TestCase fixtures :stock_groups, :sites def test_sites_not_using_this_stock_group my_first_site = sites(:my_first_site) # assert that all sites are not in an empty group stock_group = StockGroup.create(:description => "Dummy Stock Group", :dataset_id => 1, :image_source_id => 2) sites = stock_group.sites_not_using_this_stock_group all_sites = Site.find(:all, :order => "id asc") assert_equal all_sites, sites # assert that a site added to the group does not appear in the sites not in this group first...