lib/earth/industry/sector.rb in earth-0.0.31 vs lib/earth/industry/sector.rb in earth-0.0.32
- old
+ new
@@ -1,5 +1,6 @@
-class Sector < Earth::Base
+class Sector < ActiveRecord::Base
+ extend Earth::Base
set_primary_key :io_code
has_many :product_lines_sectors, :class_name => 'ProductLinesSectors', :foreign_key => 'io_code'
class << self