Module: Sequel::Plugins::PgRow::ClassMethods
- Defined in:
- lib/sequel/plugins/pg_row.rb
Instance Method Summary collapse
-
#register_row_type ⇒ Object
Register the model’s row type with the database.
Instance Method Details
#register_row_type ⇒ Object
Register the model’s row type with the database.
102 103 104 |
# File 'lib/sequel/plugins/pg_row.rb', line 102 def register_row_type db.register_row_type(model.table_name, :converter=>self, :typecaster=>method(:new)) end |