-class Suburb < ActiveRecord::Base\r
- set_primary_keys :city_id, :suburb_id\r
- has_many :streets, :foreign_key => [:city_id, :suburb_id]\r
- has_many :first_streets, :foreign_key => [:city_id, :suburb_id], \r
- :class_name => 'Street', :conditions => "streets.name = 'First Street'"\r
+class Suburb < ActiveRecord::Base
+ set_primary_keys :city_id, :suburb_id
+ has_many :streets, :foreign_key => [:city_id, :suburb_id]
+ has_many :first_streets, :foreign_key => [:city_id, :suburb_id],
+ :class_name => 'Street', :conditions => "streets.name = 'First Street'"
end
\ No newline at end of file