Sha256: 8c70f21dfd126bf64ac2f11e48bd6dde8d1118238a9b3988f8e42876c86c85f1

Contents?: true

Size: 186 Bytes

Versions: 17

Compression:

Stored size: 186 Bytes

Contents

STRONG_NAME = /\A[a-zA-Z_][a-zA-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

17 entries across 17 versions & 1 rubygems

Version Path
rails-ext-0.3.6 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3.5 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3.4 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3.3 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3.2 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3.1 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.3 lib/rails_ext/active_support/micelaneous.rb
rails-ext-0.2.21 lib/rails_ext/model.rb
rails-ext-0.2.20 lib/rails_ext/model.rb
rails-ext-0.2.19 lib/rails_ext/model.rb
rails-ext-0.2.18 lib/rails_ext/model.rb
rails-ext-0.2.17 lib/rails_ext/model.rb
rails-ext-0.2.16 lib/rails_ext/model.rb
rails-ext-0.2.15 lib/rails_ext/model.rb
rails-ext-0.2.14 lib/rails_ext/model.rb
rails-ext-0.2.13 lib/rails_ext/model.rb
rails-ext-0.2.12 lib/rails_ext/model.rb