Class: ActiveRecord::ConnectionAdapters::SchemaCache
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::SchemaCache
- Defined in:
- lib/spare/schema_cache.rb
Instance Method Summary collapse
-
#stored_procedure(sp_name) ⇒ Object
Get the stored procedure.
Instance Method Details
#stored_procedure(sp_name) ⇒ Object
Get the stored procedure
6 7 8 9 |
# File 'lib/spare/schema_cache.rb', line 6 def stored_procedure(sp_name) @stored_procedure ||= {} @stored_procedure[sp_name] ||= connection.stored_procedure(sp_name) end |