In Files

Namespace

Mdm

Namespace for models

Public Class Methods

use_relative_model_naming?() click to toggle source

Causes the model_name for all Mdm modules to not include the Mdm

prefix in their name.

This has been supported since ActiveSupport 3.2.1. In ActiveSupport 3.1.0, it checked for _railtie. Before that there was no way to do relative naming without manually overriding model_name in each class.

@return [true]

# File lib/mdm.rb, line 9
def self.use_relative_model_naming?
  true
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.