2014-10-02 62 views

回答

0

一種選擇似乎是得到原始的SQL數據

results = ActiveRecord::Base.connection.execute("SELECT events.id FROM events") 
results.each{|result| puts result } 
相關問題