Class: SmsBlock
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- SmsBlock
- Defined in:
- app/models/sms_block.rb
Overview
== Schema Information
Table name: sms_blocks
Database name: primary
id :bigint not null, primary key
block_counts :integer default(0)
notes :text
number :string not null
created_at :datetime
updated_at :datetime
creator_id :integer
updater_id :integer
Indexes
index_sms_blocks_on_number (number) UNIQUE
Constant Summary
Constants included from Schedulable
Schedulable::SIMPLE_FORM_OPTIONS
Instance Attribute Summary collapse
- #number ⇒ Object readonly
Method Summary
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Schedulable
Methods included from Models::AfterCommittable
Methods included from Models::EventPublishable
Instance Attribute Details
#number ⇒ Object (readonly)
21 |
# File 'app/models/sms_block.rb', line 21 validates :number, presence: true |