Fixing dealer lookups for rails 4.1