# File lib/shoulda/active_record/macros.rb, line 284 284: def should_have_many(*associations) 285: ::ActiveSupport::Deprecation.warn("use: should have_many") 286: through, dependent = get_options!(associations, :through, :dependent) 287: associations.each do |association| 288: should have_many(association).through(through).dependent(dependent) 289: end 290: end