added .references(:table) to kill deprecation warning