Sha256: da8f5aaa3d8bbe84f730ab8f95a588d48d99b217b37172a675ad74bc94dcab9c
Contents?: true
Size: 1.63 KB
Versions: 8
Compression:
Stored size: 1.63 KB
Contents
module RailsCoreExtensions require 'rails_core_extensions/sortable' 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/activatable' require 'rails_core_extensions/action_controller_sortable' ActionController::Base.send(:include, Activatable) ActionController::Base.send(:include, ActionControllerSortable) end if defined? ActionView require 'rails_core_extensions/action_view_extensions' require 'rails_core_extensions/action_view_has_many_extensions' ActionView::Base.send(:include, RailsCoreExtensions::ActionViewExtensions) end if defined? ActiveRecord require 'rails_core_extensions/active_record_cloning' require 'rails_core_extensions/active_record_extensions' require 'rails_core_extensions/active_record_liquid_extensions' require 'rails_core_extensions/translations' require 'rails_core_extensions/active_model_extensions' 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) ActiveRecord::Base.send(:include, ActiveModelExtensions::Validations) end end
Version data entries
8 entries across 8 versions & 1 rubygems