Class: Munificent::ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Munificent::ApplicationRecord
- Defined in:
- app/models/munificent/application_record.rb
Direct Known Subclasses
Bundle, BundleTier, BundleTierGame, Charity, CharityFundraiser, CharitySplit, CuratedStreamer, CuratedStreamerAdministrator, Donation, Donator, DonatorBundle, DonatorBundleTier, Fundraiser, Game, Key, Payment
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
14 15 16 17 18 19 20 |
# File 'app/models/munificent/application_record.rb', line 14 def to_s if respond_to?(:name) name.presence || "(No name)" else super end end |