mirror of
https://github.com/activerecord-hackery/ransack.git
synced 2022-11-09 13:47:45 -05:00
6060acf870
I am unsure if this is necessary for any other databases. Relevant to #171 Fixes #176 Fixes spree/spree#3936
9 lines
No EOL
217 B
Ruby
9 lines
No EOL
217 B
Ruby
module RansackHelper
|
|
def quote_table_name(table)
|
|
ActiveRecord::Base.connection.quote_table_name(table)
|
|
end
|
|
|
|
def quote_column_name(column)
|
|
ActiveRecord::Base.connection.quote_column_name(column)
|
|
end
|
|
end |