examples/currency_layer.rb in danconia-0.2.8 vs examples/currency_layer.rb in danconia-0.2.9
- old
+ new
@@ -1,7 +1,6 @@
# Remember to supply your CurrencyLayer key in the ACCESS_KEY environment variable to run this example
-require 'danconia'
-
+ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Base.establish_connection adapter: 'sqlite3', database: ':memory:'
ActiveRecord::Schema.define do
# You can use this in a Rails migration
create_table :exchange_rates do |t|