Module: ExceptionHandler
- Defined in:
- lib/exception_handler.rb,
lib/exception_handler/config.rb,
lib/exception_handler/engine.rb,
app/models/exception_handler/exception.rb,
app/mailers/exception_handler/exception_mailer.rb,
lib/generators/exception_handler/views_generator.rb,
lib/generators/exception_handler/migration_generator.rb,
app/controllers/exception_handler/exception_controller.rb
Overview
> Migration Generator (for adding errors table)
> Ref: github.com/plataformatec/devise/blob/master/lib/generators/active_record/devise_generator.rb
Defined Under Namespace
Classes: Config, Engine, ExceptionController, ExceptionMailer, MigrationGenerator, ViewsGenerator
Constant Summary collapse
- BOTS =
> Search Bots
> Used in “Exception” class
%w(Baidu Gigabot Googlebot libwww-per lwp-trivial msnbot SiteUptime Slurp Wordpress ZIBB ZyBorg Yandex Jyxobot Huaweisymantecspider ApptusBot)
- ATTRS =
> Attributes
> Determine schema etc
%i(class_name status message trace target referrer params user_agent)
Class Method Summary collapse
-
.table_name_prefix ⇒ Object
> Table Prefix => Keeps Rails Engine from generating all table prefixes with the engines name => stackoverflow.com/questions/19435214/rails-mountable-engine-with-isolate-namespace-but-without-prefixed-namespace-on.
Class Method Details
.table_name_prefix ⇒ Object
> Table Prefix
> Keeps Rails Engine from generating all table prefixes with the engines name
> stackoverflow.com/questions/19435214/rails-mountable-engine-with-isolate-namespace-but-without-prefixed-namespace-on
9 10 11 |
# File 'lib/exception_handler.rb', line 9 def self.table_name_prefix # => No prefix end |