2012-09-30 RailsのActiveRecordでLIKEを使う Ruby on Rails LIKEの使いかたのメモ。 User.where('name LIKE ?', '%Bob%').order('created_at DESC').limit(30) 以上。