Module: Railsless

Defined in:
lib/railsless/active_record/root.rb,
lib/railsless/active_record.rb,
lib/railsless/active_record/rake.rb,
lib/railsless/active_record/config.rb,
lib/railsless/active_record/version.rb,
lib/railsless/active_record/seed_loader.rb,
lib/railsless/active_record/sinatra_extension.rb

Overview

Partially inspired by railties-4.0.0/lib/rails/engine.rb In essence, it’s:

  • Picking a file to look for (eg. config.ru),

  • Starting at an arbitrary directory (eg. the current working directory), and then

  • Traversing back up the directory tree until it either finds a flag file, or hits the root folder.

Defined Under Namespace

Modules: ActiveRecord