Class: CliftonStrength
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- CliftonStrength
- Defined in:
- app/models/clifton_strength.rb
Overview
== Schema Information
Table name: clifton_strengths
Database name: primary
id :integer not null, primary key
description :text not null
name :string(255) not null
youtube_id :string(30)
Indexes
index_clifton_strengths_on_name (name) UNIQUE
Constant Summary
Constants included from Schedulable
Schedulable::SIMPLE_FORM_OPTIONS
Class Method Summary collapse
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
Class Method Details
.select_options ⇒ Object
17 18 19 |
# File 'app/models/clifton_strength.rb', line 17 def self. order(:name).map { |s| [s.name, s.id] } end |