SyntaxFix
Write A Post
Hire A Developer
Questions
Reposting the answer from our forum to help others with a similar issue:
@connection = ActiveRecord::Base.connection result = @connection.exec_query('select tablename from system.tables') result.each do |row| puts row end