I was mistaken, this functionality exists in Batman out-of-the-box.
YourApp.User.load({name: "wuliwong"}, (err, results) ->
#do stuff with the results array
The UsersController#index action in Rails now looks like this:
def index
if params[:name]
@users = User.where(:name => params[:name])
else
@users = User.all
end
end