Rails app that uses AJAX in order to show completed and incomplete posts