client_side_validations icon indicating copy to clipboard operation
client_side_validations copied to clipboard

Rails 5.1 compatibility

Open tagliala opened this issue 9 years ago • 9 comments

tagliala avatar Feb 24 '17 08:02 tagliala

At the moment it works out of the box. I will not support form_with because form_for and form_tag are softly deprecated and will stay there until Rails 6.

Please use rails51 branch if you need Rails 5.1 compatibility. I will merge changes into master asap Rails 5.1 will be released

tagliala avatar Feb 24 '17 14:02 tagliala

Merged on the master branch

tagliala avatar Mar 07 '17 12:03 tagliala

@tagliala Hi! Can you please provide proof links for deprecation of form_with? I thought that form_for & form_tag is softly deprecated. Now I'm totally confused (

klamath avatar May 29 '17 18:05 klamath

@klamath sorry

Fixed my comment above:

I will not support form_with because form_for and form_tag are softly deprecated and will stay there until Rails 6.

tagliala avatar May 29 '17 18:05 tagliala

Would it be hard to support form_with? I reckon a lot of people will like it :) Maybe I'll try and do it myself.

murdoch avatar Oct 06 '17 13:10 murdoch

@murdoch yes, please.

IIRC, I've skipped form_with because its implementation was not straightforward

A PR and a test case would be highly appreciated

tagliala avatar Oct 06 '17 14:10 tagliala

@tagliala does it still not support form_with?

reckerswartz avatar Oct 08 '18 12:10 reckerswartz

@reckerswartz nope, sorry

PRs are welcomed

tagliala avatar Oct 08 '18 16:10 tagliala

@reckerswartz I don't know if you are still interested, but I've added form_with support to the master branch. I will release a new version of the gem in a few days

tagliala avatar Apr 22 '19 20:04 tagliala