a guest Jul 12th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- named_scope :unconfirmed, :conditions => "users.`is_superuser` = true AND users.`activated_at` IS NULL", :joins => "INNER JOIN users ON companies.`id` = users.`company_id`", :order => "created_at"
RAW Paste Data