Submit social housing lettings and sales data (CORE)
 
 
 
 

6 lines
259 B

class Export < ApplicationRecord
scope :lettings, -> { where(collection: "lettings") }
scope :sales, -> { where(collection: "sales") }
scope :organisations, -> { where(collection: "organisations") }
scope :users, -> { where(collection: "users") }
end