X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8af14faa49deed681fa835dd6bd3f77316b44a55..b9c9d6c1aafdd60c72b54345b4d2dc94317298a0:/vendor/plugins/file_column/init.rb?ds=sidebyside diff --git a/vendor/plugins/file_column/init.rb b/vendor/plugins/file_column/init.rb index 6ecbba5f6..0610d486c 100644 --- a/vendor/plugins/file_column/init.rb +++ b/vendor/plugins/file_column/init.rb @@ -8,7 +8,7 @@ require 'file_column_helper' require 'validations' require 'test_case' -if defined?(ActionRecord::Base) +if defined?(ActiveRecord::Base) ActiveRecord::Base.send(:include, FileColumn) ActiveRecord::Base.send(:include, FileColumn::Validations) end