lib/arql/app.rb in arql-0.3.6 vs lib/arql/app.rb in arql-0.3.7
- old
+ new
@@ -27,11 +27,17 @@
require "arql/definition"
@options = options
App.env = @options.env
App.connect_options = connect_options
Connection.open(App.connect_options)
+ print "Defining models..."
@definition = Definition.new(effective_config)
+ print "\u001b[2K"
+ puts "\rModels defined"
+ print "Running initializers..."
load_initializer!
+ print "\u001b[2K"
+ puts "\rInitializers loaded"
App.instance = self
end
def connect_options
connect_conf = effective_config.slice(:adapter, :host, :username,