Sha256: 11cefca4023ec7d358cba58338585b595a457f89cd84b5fd325e057b011e7c0e
Contents?: true
Size: 210 Bytes
Versions: 4
Compression:
Stored size: 210 Bytes
Contents
module Spree class Bank < ActiveRecord::Base validates :name, :account_no , :presence => true validates_uniqueness_of :account_no , :scope => :name scope :active, where(:active => true) end end
Version data entries
4 entries across 4 versions & 1 rubygems