Module: AdjustableSchema

Defined in:
lib/adjustable_schema.rb,
lib/adjustable_schema/config.rb,
lib/adjustable_schema/engine.rb,
lib/adjustable_schema/authors.rb,
lib/adjustable_schema/version.rb,
lib/adjustable_schema/active_record.rb,
app/models/adjustable_schema/relationship.rb,
app/jobs/adjustable_schema/application_job.rb,
app/models/adjustable_schema/relationship/role.rb,
app/models/adjustable_schema/application_record.rb,
lib/adjustable_schema/active_record/association.rb,
app/helpers/adjustable_schema/application_helper.rb,
app/mailers/adjustable_schema/application_mailer.rb,
lib/adjustable_schema/active_record/query_methods.rb,
lib/adjustable_schema/active_record/association/naming.rb,
lib/adjustable_schema/active_record/association/scopes.rb,
app/controllers/adjustable_schema/application_controller.rb,
app/models/concerns/adjustable_schema/active_record/associations.rb,
app/models/concerns/adjustable_schema/active_record/relationships.rb

Defined Under Namespace

Modules: ActiveRecord, ApplicationHelper, Config Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Engine, Relationship

Constant Summary collapse

AUTHORS =
[
		Gem::Author.new(
				name:       'Alexander Senko',
				email:      '[email protected]',
				github_url: 'https://github.com/Alexander-Senko',
		),
]
VERSION =
'0.8.0'

Class Method Summary collapse

Class Method Details

.available?Boolean

Returns:

  • (Boolean)


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

def available?
	Relationship.table_exists?
end