Guest User

Untitled

a guest
Aug 20th, 2019
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class MovieProduction < ApplicationRecord
  2. def self.search_by_title(title)
  3. where('title ILIKE ?', "#{sanitize_sql_like(title)}%") }
  4. end
  5. end
RAW Paste Data