Removed workaround for bug in Rails because the bug was fixed in Rails