replaces dynamic finder methods with where
allows rails 4 as well and no specific multi_json