Arel compatibility

fixes #6 

(not really pretty - but shows a possible fix)