Module: Sails::ConsoleMethods

Extended by:
ActiveSupport::Concern
Defined in:
lib/sails/console.rb

Instance Method Summary collapse

Instance Method Details

#reload!Object


15
16
17
18
19
# File 'lib/sails/console.rb', line 15

def reload!
  puts "Reloading..."
  Sails.reload!(force: true)
  true
end

#serviceObject


11
12
13
# File 'lib/sails/console.rb', line 11

def service
  Sails.service
end