In my Rails app have a default scope that looks like this:
default_scope order: \'external_updated_at DESC\'
I have now upgraded to Rails 4
default_scope -> { order(created_at: :desc) }
Don't forget the -> symbol
->