Nick Sutterer
Nick Sutterer
What a super annoying bug! :bomb: Just ran into it myself.
@tpendragon AM is not going to be dropped in Reform, but we're working on Reform 3 and this fell through the cracks. Will review today with @yogeshjain999 :muscle:
Your application config, please. I have no idea how "eager loading" works.
@coding-bunny Can you provide a minimal Rails 5 app provoking this? I can have a quick look now.
Writing that up probably took longer than hacking down the code :joy: Thanks, will check it out.
BTW, this problem doesn't exist when you use `trailblazer-loader` and the TRB file structure for your forms, it's highly recommended checking that out.
Give me a sample Rails app, the less I have to do the quicker you get a fix.
@coding-bunny Can you jump on https://gitter.im/trailblazer/chat for a few mins, I can help diagnosing.
Wow, I didn't know about this until now. The problem is here: https://github.com/trailblazer/reform-rails/blob/master/lib/reform/form/active_model/validations.rb#L165 Let me have a look at it! :coffee:
Would you like to PR the fix, @jcoyne ? :beers: We have CI set up for all versions of Ruby, don't we, @yogeshjain999 ? :joy: