# File lib/foreigner/connection_adapters/abstract/schema_definitions.rb, line 54 def references_with_foreign_keys(*args) options = args.extract_options! if fk_options = options.delete(:foreign_key) p ActiveSupport::Deprecation.send(:deprecation_message, caller, ":foreign_key in t.references is deprecated. " \ "Use t.foreign_key instead") end references_without_foreign_keys(*(args.dup << options)) end