Addef filtering for has_many and habtm