This project is archived and is in readonly mode.
default_scope, :order => :symbol, and Model.last conflict.
-
Rob Anderton
- Tag set to active_record, bug, find_last, order, patch
I also hit this bug today, I've attached a simple patch that fixes the problem along with an extra test case.
-
Repository
- State changed from new to resolved
(from [faf4ba6b79e56dde383a8761fb1f485fcd07c72b]) Allow find(:last) :order be a symbol [#2024 default_scope, :order => :symbol, and Model.last conflict. state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
