Removed patches for rails 3