used arel_table for backwards compatablity with rails 3