fake_arel is a library that simulates Rails 3 ActiveRecord Arel calls using extensions to named_scope.