Sha256: a9167b069ece3356db61148117eabbd2ac894e255b1088da77c95ea5eb906cef
Contents?: true
Size: 368 Bytes
Versions: 7
Compression:
Stored size: 368 Bytes
Contents
# == Schema Information # # Table name: brands # # id :integer not null, primary key # name :string(255) # created_at :datetime # updated_at :datetime # type :string(255) # state :boolean # class Brand < ActiveRecord::Base scope :active, where(:state => true) scope :with_address, joins(:address) belongs_to :address end
Version data entries
7 entries across 7 versions & 1 rubygems