lib/property_sets.rb in property_sets-0.8.2 vs lib/property_sets.rb in property_sets-0.8.3
- old
+ new
@@ -1,7 +1,11 @@
require 'property_sets/property_set_model'
require 'property_sets/active_record_extension'
-require 'property_sets/action_view_extension'
+
+begin
+ require 'property_sets/action_view_extension'
+rescue LoadError
+end
module PropertySets
VERSION = "0.7.2"
def self.ensure_property_set_class(association, owner_class)