bin/data_sampler in data_sampler-0.0.3 vs bin/data_sampler in data_sampler-0.0.4

- old
+ new

@@ -21,10 +21,9 @@ options.default \ :adapter => 'mysql', :database => 'test', :username => 'root', :encoding => 'utf8', - :socket => '/opt/local/var/run/mysql5/mysqld.sock', :rows => 1000 ActiveRecord::Base.logger = Logger.new(options.log) if options.log ActiveRecord::Base.establish_connection(options.__hash__).with_connection do |conn| puts DataSampler::Sample.new(conn, options.rows).to_sql end