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