Sha256: f9aa491ebdd7fd5be69e3ad025450ab6541caea5047abcff805b17ecb0304322

Contents?: true

Size: 539 Bytes

Versions: 8

Compression:

Stored size: 539 Bytes

Contents

$LOAD_PATH << File.join(File.dirname(__FILE__), '..', '..', 'activesupport', 'lib')

# premature optimization?
require 'active_support/inflector'
require 'active_support/core_ext/string/inflections'
String.send :include, ActiveSupport::CoreExtensions::String::Inflections

require 'active_model/base'
require 'active_model/observing'
require 'active_model/callbacks'
require 'active_model/validations'

ActiveModel::Base.class_eval do
  include ActiveModel::Observing
  include ActiveModel::Callbacks
  include ActiveModel::Validations
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
antfarm-0.3.0 rails/vendor/rails/activemodel/lib/active_model.rb
antfarm-0.4.0 rails/vendor/rails/activemodel/lib/active_model.rb
radiant-0.6.5.1 vendor/rails/activemodel/lib/active_model.rb
radiant-0.6.5 vendor/rails/activemodel/lib/active_model.rb
radiant-0.6.7 vendor/rails/activemodel/lib/active_model.rb
radiant-0.6.6 vendor/rails/activemodel/lib/active_model.rb
radiant-0.6.8 vendor/rails/activemodel/lib/active_model.rb
radiant-0.6.9 vendor/rails/activemodel/lib/active_model.rb