Class: Twinkle::Event
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Twinkle::Event
- Defined in:
- app/models/twinkle/event.rb
Class Method Summary collapse
Class Method Details
.fields ⇒ Object
12 13 14 |
# File 'app/models/twinkle/event.rb', line 12 def self.fields attribute_names.select{ |name| !['id', 'twinkle_app_id', 'created_at', 'updated_at'].include?(name) } end |