Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Provide a way to set the Rails field_error_proc #896
(Coming from #39) We can easily set a custom field_error_proc with:
But this gives the typical "warning already initialized constant". To fix this nuisance we can write:
However, to avoid this kind of hacks I'd propose to expose the proc as a module variable (