Class: Cequel::Record::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/cequel/record/railtie.rb

Overview

Since:

  • 0.1.0

Class Method Summary collapse

Class Method Details

.app_nameObject

Since:

  • 0.1.0



13
14
15
# File 'lib/cequel/record/railtie.rb', line 13

def self.app_name
  Rails.application.railtie_name.sub(/_application$/, '')
end