fixed pagination bug for rails 3.2, updated db with real data