Sha256: f9f8171611da52fc51941dd21d522c10881b817eb842e97170d5766072a98f98
Contents?: true
Size: 435 Bytes
Versions: 65
Compression:
Stored size: 435 Bytes
Contents
module Comee module Core class Store < ApplicationRecord belongs_to :warehouse_manager, class_name: "Comee::Core::User", optional: true validates :name, :address, :email, :code, presence: true validates :email, format: {with: URI::MailTo::EMAIL_REGEXP} def self.ransackable_attributes(_auth_object = nil) %w[address code created_at email id id_value name updated_at] end end end end
Version data entries
65 entries across 65 versions & 1 rubygems