Class: Quizzes::Level
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Quizzes::Level
- Defined in:
- app/models/quizzes/level.rb
Class Method Summary collapse
Class Method Details
.all_and_nil ⇒ Object
20 21 22 |
# File 'app/models/quizzes/level.rb', line 20 def self.all_and_nil Level.all.to_a + [nil] end |