class SecondBase::Railtie
Public Instance Methods
config_key()
click to toggle source
# File lib/second_base/railtie.rb, line 47 def config_key config.second_base.config_key end
config_path()
click to toggle source
# File lib/second_base/railtie.rb, line 43 def config_path config.second_base.path end
fullpath(extra=nil)
click to toggle source
# File lib/second_base/railtie.rb, line 55 def fullpath(extra=nil) path = Rails.root.join(config.second_base.path) (extra ? path.join(path, extra) : path).to_s end
run_with_db_tasks?()
click to toggle source
# File lib/second_base/railtie.rb, line 51 def run_with_db_tasks? config.second_base.run_with_db_tasks end