Upgrade to Rails 4, Fix Membership deletion bug temporarily