Rails führt SQL aus

results = ActiveRecord::Base.connection.exec_query(sql)
Old-fashioned Owl