allowing custom variable for activerecord
fixing data filter bug