Associations ability

fixes associations filtering with ability style authorization gems like cancan
WARNING: breaks when there's no cancan. Couldn't make to skip it correctly.