0
我正在從不贊成使用(在Rails 3.1)使用查找更新到活動記錄查詢接口3.0。尋求活性記錄查詢接口3.0的影響澄清澄清
我從[always excellent] RailsCasts Episode #202瞭解到,找到調用需要重寫。
不過,我並不清楚它是否會仍然可以使用結構,
Products.find_all_by_available(true) # find specified via method used
#^not sure what the name for that convention is
...下的Rails 3.2,還是需要這個代碼在新的格式被改寫嗎?
謝謝。
謝謝,非常感謝! – Snips