module NdrError
Configuration for NdrError
+ convienence methods.
Contains the version of NdrError
. Sourced by the gemspec.
Constants
- VERSION
Public Class Methods
Source
# File lib/ndr_error.rb, line 100 def self.migration_class ActiveRecord::Migration[4.2] end
Rails 5 uses versioned migrations (required as of 5.1). This helper method returns an appropriate migration superclass for the Rails version of the host application. Note that the 4.2 compatability layer is targetted since all the bundled migrations were written prior to Rails 5.
Source
# File lib/ndr_error.rb, line 92 def self.table_name_prefix 'error_' end
Help Rails find the table of any namespaced modules.