# File lib/couchrest/model/property_protection.rb, line 36 def accessible_properties props = properties.select { |prop| prop.options[:accessible] } if props.empty? props = properties.select { |prop| !prop.options[:protected] } end props end