lib/genesis/tasks/genesis.rake in genesis-1.8.1 vs lib/genesis/tasks/genesis.rake in genesis-1.8.2

- old
+ new

@@ -22,10 +22,10 @@ puts "", message( contexts, :using_contexts => using_contexts, :start => true ), "" if dry_run r = ActiveRecord::Base.connection.execute( "SELECT `schema_seeds`.* FROM `schema_seeds`" ) versions = [] executes = [] - r.each_hash { |rec| versions << rec['version'] } + r.each_hash { |rec| versions << rec['seed_version'] } puts '-- DRY RUN --', 'Will execute seeds:', '' seeds.reject! { |s| ignores.any? { |i| s.include?( i ) } } seeds.each do |s|