lib/initializers/initialize.rb in it-logica-application-backbone-0.2.1 vs lib/initializers/initialize.rb in it-logica-application-backbone-0.2.2
- old
+ new
@@ -1,21 +1,20 @@
-# some patches
-require "ladas_string_patch"
-#app backbone patches
-
-
require 'view_mixins/link'
require 'view_mixins/form'
require 'view_mixins/breadcrumb'
require 'view_mixins/datafiles_for'
require 'view_mixins/table'
require 'model_mixins/table_builder_class_methods'
require 'model_mixins/tree_node_class_methods'
require 'model_mixins/tree_node_instance_methods'
+require "model_mixins/ladas/string_extensions"
+require "model_mixins/ladas/html_entities"
+
+
require 'controller_mixins/renderer_instance_methods'
require 'controller_mixins/csv_instance_methods'
module Initializers
class Initialize < Rails::Railtie
@@ -28,9 +27,12 @@
ActionController::Base.send :include, ControllerMixins::RendererInstanceMethods
ActionController::Base.send :include, ControllerMixins::CsvInstanceMethods
ActiveRecord::Base.send :extend, ModelMixins::TableBuilderClassMethods
+
+ String.send :include, ModelMixins::Ladas::StringExtensions
+ String.send :include, ModelMixins::Ladas::HtmlEntities
end
end
end
\ No newline at end of file