bogdan/datagrid — pull request #63 by markedmondson (2013-03-13 21:04:43+00:00)
Title: Update filters.rb

Only apply the filter onto the result if it's valid, a badly coded filter block could return anything which would reset result. Eg:

filter(:field) do
nil
end

It may even be worthwhile checking if filter_result is a ActiveRecord::Relation?