Sha256: 14506680c49d15f1eb1d3fecfeff52d2f47981dbf92566a46cc651c12ee108d1
Contents?: true
Size: 1.88 KB
Versions: 7
Compression:
Stored size: 1.88 KB
Contents
module RailsCoreExtensions require 'rails_core_extensions/sortable' require 'rails_core_extensions/action_view_currency_extensions' require 'rails_core_extensions/action_view_has_many_extensions' require 'rails_core_extensions/action_view_extensions' require 'rails_core_extensions/breadcrumb' require 'rails_core_extensions/position_initializer' require 'rails_core_extensions/time_with_zone' require 'rails_core_extensions/transfer_records' require 'rails_core_extensions/active_support_concern' require 'rails_core_extensions/concurrency' require 'rails_core_extensions/railtie' if defined?(Rails) if defined? ActionController require 'rails_core_extensions/caches_action_without_host' require 'rails_core_extensions/activatable' require 'rails_core_extensions/action_controller_sortable' ActionController::Base.send(:include, CachesActionWithoutHost) ActionController::Base.send(:include, Activatable) ActionController::Base.send(:include, ActionControllerSortable) end if defined? ActiveRecord require 'rails_core_extensions/active_record_cloning' require 'rails_core_extensions/active_record_cache_all_attributes' require 'rails_core_extensions/active_record_extensions' require 'rails_core_extensions/active_record_liquid_extensions' require 'rails_core_extensions/translations' ActiveRecord::Base.send(:include, ActiveRecordCloning) ActiveRecord::Base.send(:include, ActiveRecordExtensions) ActiveRecord::Base.send(:include, RailsCoreExtensions::ActiveRecordLiquidExtensions) ActiveRecord::Base.send(:include, ActiveRecordExtensions::InstanceMethods) ActiveRecord::Base.send(:include, RailsCoreExtensions::Translations) if ActiveRecord::VERSION::MAJOR >= 3 require 'rails_core_extensions/active_model_extensions' ActiveRecord::Base.send(:include, ActiveModelExtensions::Validations) end end end
Version data entries
7 entries across 7 versions & 1 rubygems