daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest May 17th, 2018 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def self.find_available
  2.         find(:all, :joins => "inner join inventories on spaces.id=inventories.billable_id",
  3.              :conditions => ["inventories.stock_qty > ? and inventories.billable_type = ?",0,"Space"], :order => "row,col")
  4.   end
RAW Paste Data
Top