Permalink
Browse files

Remove core/ext/string

This file:

1) Contained a method that wasn't in use anywhere.
2) Wasn't being required
  • Loading branch information...
1 parent 10666e4 commit c7f372d495a328220ef48f01a71a6c83268bf306 @radar radar committed May 23, 2012
Showing with 0 additions and 14 deletions.
  1. +0 −4 core/config/initializers/spree.rb
  2. +0 −10 core/lib/spree/core/ext/string.rb
@@ -11,8 +11,4 @@
# include Spree::Support::CoreExtensions::Array
#end
-String.class_eval do
- include Spree::Core::Ext::String
-end
-
LIKE = ActiveRecord::Base.connection.adapter_name == 'PostgreSQL' ? 'ILIKE' : 'LIKE'
@@ -1,10 +0,0 @@
-module Spree::Core::Ext::String
- def is_integer?
- begin
- Integer(self.to_s)
- return true
- rescue ArgumentError
- return false
- end
- end
-end

0 comments on commit c7f372d

Please sign in to comment.