app/models/uuidify/uuid.rb in uuidify-0.3.0 vs app/models/uuidify/uuid.rb in uuidify-0.3.1

- old
+ new

@@ -1,4 +1,6 @@ # Store the relationship between UUID and ActiveRecord instance class Uuidify::Uuid < ActiveRecord::Base - attr_accessible :model_name, :model_id, :model_uuid + if Rails::VERSION::MAJOR == 3 + attr_accessible :model_name, :model_id, :model_uuid + end end