Module: Bridgetown::Sequel

Defined in:
lib/bridgetown_sequel.rb

Class Method Summary collapse

Class Method Details

.load_tasks(models_dir: "models") ⇒ Object



11
12
13
14
# File 'lib/bridgetown_sequel.rb', line 11

def self.load_tasks(models_dir: "models")
  ENV["BRIDGETOWN_SEQUEL_MODELS_DIR"] ||= models_dir
  load File.expand_path("tasks/sequel_database.rake", __dir__)
end