Fixes #5411 - Params is not available during pre-compilation.
I guess that this fix has a problem, because we don't have params? method in rails (according to find / grep).
It happen NoMethodError, if we call params? method.
Sorry, If I misunderstand :-)
Sorry. I'm closing this PR, because #5525 is merged. thanks :)