Rails запустить естественный запрос SSQL
sql = "Select * from ... your sql query here"
records_array = ActiveRecord::Base.connection.execute(sql)
Scary Serval
sql = "Select * from ... your sql query here"
records_array = ActiveRecord::Base.connection.execute(sql)