Class: Trophonius::Model
- Inherits:
-
Object
- Object
- Trophonius::Model
- Defined in:
- lib/generators/harmonia/templates/trophonius_model_extension.rb
Class Method Summary collapse
-
.to_pg(record) ⇒ Object
Converts a Trophonius record to PostgreSQL-compatible attributes.
Class Method Details
.to_pg(record) ⇒ Object
Converts a Trophonius record to PostgreSQL-compatible attributes
7 8 9 |
# File 'lib/generators/harmonia/templates/trophonius_model_extension.rb', line 7 def self.to_pg(record) raise StandardError, 'Implement to_pg' end |