lib/stringex.rb in rsl-stringex-0.9.3 vs lib/stringex.rb in rsl-stringex-0.9.4
- old
+ new
@@ -1,9 +1,9 @@
-require 'lucky_sneaks/acts_as_url'
require 'lucky_sneaks/string_extensions'
require 'lucky_sneaks/unidecoder'
String.send :include, LuckySneaks::StringExtensions
if defined?(ActiveRecord)
+ require 'lucky_sneaks/acts_as_url'
ActiveRecord::Base.send :include, LuckySneaks::ActsAsUrl
end