grouped_validations
grouped_validations copied to clipboard
Rails 4 upgrade
All specs passing, and this is currently working for Rails 4.2.4.
Thanks but this needs some explaining.
I'm not familiar with ActiveSupport::Callbacks::Callback. Are declaring it or monkey patching it?
Why is method_source gem required as a dependency?
Lastly please don't commit the Gemfile.lock.
Ah, forgot to add Gemfile.lock to my .gitignore. Sorry about that. I'm going to look into trying to do away with using the method_source gem, or at least a rock-solid reason why it is needed. I'll get back to you on that. Thanks for the feedback!
Any update on this?
I found another grouped_validations that claims to have worked for others on Rails 4.2.4 here: https://github.com/BroiSatse/grouped_validations/commit/49f634a655391aade53870ab4e7091d6605c2208
However, I can't seem to get it working. I keep getting undefined method 'group_valid?' for ...
.
Yeah, turns out I was just being stupid. I was using the method_source gem for troubleshooting and didn't remove it when I was finished. I just pushed up the change and also removed the Gemfile.lock.
Ahh, thanks! Hopefully this can help a fellow traveler as well.
I hope so! Sorry it took awhile to get back to you.
@adzap Any thoughts on getting this merged in?