# File lib/shoulda/active_record/macros.rb, line 151 151: def should_allow_values_for(attribute, *good_values) 152: ::ActiveSupport::Deprecation.warn("use: should allow_value") 153: get_options!(good_values) 154: good_values.each do |value| 155: should allow_value(value).for(attribute) 156: end 157: end