Sha256: 07a58b87188bb98c157226bd0c04225b6480cffd177fe9c467786790c84a7b9d

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

class PickupLocation < ActiveRecord::Base
  has_many :pickups
  belongs_to :supplier
  scope :locate, :conditions => { :featured => true}
  has_many :hours
  accepts_nested_attributes_for :hours
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_suppliers-0.0.1 app/models/pickup_location.rb
spree_suppliers-0.60.3 app/models/pickup_location.rb