test/dummy/app/models/country.rb in data_seeder-0.0.5 vs test/dummy/app/models/country.rb in data_seeder-1.0.0
- old
+ new
@@ -1,14 +1,2 @@
class Country < ActiveRecord::Base
- def self.data_seeder_line(line)
- {
- code: line[0,2],
- name: line[3...-1],
- }
- end
-
- def self.data_seeder_config
- {
- key_attribute: :code
- }
- end
end