lib/appfuel/config/db.rb in appfuel-0.4.2 vs lib/appfuel/config/db.rb in appfuel-0.4.3
- old
+ new
@@ -15,10 +15,10 @@
# password Database password
# host Location of the database server
#
# @return Defintion
def self.db_definition
- Appfuel::Configuration.define :db do
+ define :db do
validator {
required(:main).filled(:hash?)
required(:path).filled(:str?)
required(:seed_path).filled(:str?)
required(:migrations_path).filled(:str?)