More rails way AR queries

@schneems fixed