Class: Pay::ApplicationRecord
- Inherits:
-
Object
- Object
- Pay::ApplicationRecord
- Defined in:
- app/models/pay/application_record.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.json_column?(name) ⇒ Boolean
5 6 7 8 |
# File 'app/models/pay/application_record.rb', line 5 def self.json_column?(name) return unless connected? && table_exists? [:json, :jsonb].include?(attribute_types[name].type) end |