Module: Editstore

Defined in:
lib/editstore.rb,
lib/editstore/engine.rb,
lib/editstore/version.rb,
app/models/editstore/field.rb,
app/models/editstore/state.rb,
app/models/editstore/change.rb,
app/models/editstore/project.rb,
app/models/editstore/run_log.rb,
app/models/editstore/connection.rb,
app/models/editstore/object_lock.rb,
app/helpers/editstore/application_helper.rb,
app/controllers/editstore/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper Classes: ApplicationController, Change, Connection, Engine, Field, ObjectLock, Project, RunLog, State

Constant Summary collapse

VERSION =
"2.0.4"

Class Method Summary collapse

Class Method Details

.run_migrations?Boolean

Returns:

  • (Boolean)


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

def self.run_migrations?
  %w{development test}.include? Rails.env
end