Change load_consumer to work with rails 4.1