Module: RailsDbInfo

Defined in:
lib/rails_db_info.rb,
lib/rails_db_info/table.rb,
lib/rails_db_info/engine.rb,
lib/rails_db_info/version.rb,
lib/rails_db_info/table_entries.rb,
app/helpers/rails_db_info/tables_helper.rb,
app/helpers/rails_db_info/application_helper.rb,
app/controllers/rails_db_info/tables_controller.rb,
app/controllers/rails_db_info/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, TablesHelper Classes: ApplicationController, Engine, Table, TableEntries, TablesController

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.require_relative(path) ⇒ Object

Custom require relative that work with older rubies also



3
4
5
6
# File 'lib/rails_db_info.rb', line 3

def self.require_relative(path)
  full_path = File.expand_path(path, File.dirname(__FILE__))
  Kernel.require(full_path)
end