1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00
activerecord-hackery--ransack/spec/helpers/ransack_helper.rb

9 lines
217 B
Ruby
Raw Normal View History

2011-03-30 20:31:39 -04:00
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
2011-03-30 20:31:39 -04:00
end