Add accepting_pledges method in project.rb to only show live projects in the controller