class method
self.exit_on_failure?
Ruby on Rails 3.2.22.5
Since v3.1.12 Last seen in v3.2.22.5Available in: v3.1.12 v3.2.22.5
Signature
self.exit_on_failure?()
We want to exit on failure to be kind to other libraries This is only when accessing via CLI
Source
# File railties/lib/rails/commands/application.rb, line 31
def self.exit_on_failure?
true
end
Defined in railties/lib/rails/commands/application.rb line 31
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::AppGenerator