lib/has_vcards/railtie.rb in has_vcards-0.17.0 vs lib/has_vcards/railtie.rb in has_vcards-0.17.1
- old
+ new
@@ -7,8 +7,10 @@
initializer :after_initialize do
ActionController::Base.helper HasVcardsHelper
ActiveRecord::Base.extend(HasVcardsClassMethods)
+
+ SwissMatch::Address.send :include, Vcard::DirectoryAddress if defined?(SwissMatch::Address)
end
end
end