Method: Webhookdb::Postgres::ModelUtilities::ClassMethods#schema_name
- Defined in:
- lib/webhookdb/postgres/model_utilities.rb
#schema_name ⇒ Object
Return the name of the schema the receiving class is in.
126 127 128 129 |
# File 'lib/webhookdb/postgres/model_utilities.rb', line 126 def schema_name schemaname, = self.db.send(:schema_and_table, self.table_name) return schemaname end |