[fix] Corrected code for patch to match Rails 4.1.8 (4m)