Changed production.rb
Fixed pagination