yaonie084/dianwaimai — pull request #2 by yangxing-star (2014-08-22 15:05:37+00:00)
Title: find -> find_by_id and add scope succeed

1. find 方法会有ActiveRecord::RecordNotFound异常，并且有缓存 改用where() 方式
2. 增加 enumerize
3. order model add scope
4. 队列需做@order可能为空