Resume.joins(:languages, :publications).where('first_name LIKE ? OR last_name LIKE ? OR email LIKE ?', "%abcd%", "%abcd%", "%abcd%")
Resume.where('first_name LIKE ? OR last_name LIKE ? OR email LIKE ?', "%abcd%", "%abcd%", "%abcd%")
I am using the Rails 3.2
Aucun commentaire:
Enregistrer un commentaire