Sha256: d21b3dd25408496d1fbacfd96bae583ae7c9c5b9ada0bc5a8beab1a325ebe91a

Contents?: true

Size: 180 Bytes

Versions: 24

Compression:

Stored size: 180 Bytes

Contents

STRONG_NAME = /\A[a-z_][a-z_0-9]*\Z/

ActiveSupport::CoreExtensions::Module.class_eval do
  def model_name
    @model_name ||= ::ActiveSupport::ModelName.new(name_alias)
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
rails-ext-0.3.11 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3.10 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3.9 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3.8 lib/rails_ext/active_support/micelaneous.rb