Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

rails execute sql

results = ActiveRecord::Base.connection.exec_query(sql)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #execute #sql
ADD COMMENT
Topic
Name
4+2 =