examples/sql_with_connection.rb in github-ds-0.2.0 vs examples/sql_with_connection.rb in github-ds-0.2.1
- old
+ new
@@ -5,9 +5,10 @@
self.abstract_class = true
establish_connection({
adapter: "mysql2",
database: "github_ds_test",
+ username: "root",
})
end
ActiveRecord::Base.transaction do
# Insert bar on base connection.