The symbol_aref_refinement extension adds a refinement that makes Symbol# support Symbol, #Sequel::SQL::Indentifier, and Sequel::SQL::QualifiedIdentifier instances, returning appropriate Sequel::SQL::QualifiedIdentifier instances. It's designed as a shortcut so that instead of:
Sequel[:table][:column] # table.column
you can just write:
:table[:column] # table.column
To load the extension:
To enable the refinement for the current file:
If you would like this extension to be enabled globally instead of as a refinement, use the symbol_aref extension.
Related module: Sequel::SymbolAref