You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @peteryates, this is great stuff and was looking to implement in a product I am working on over in MoJ.
One problem is you cannot use it against a plain ruby class due to the lack of errors on the object. I am just looking to create a basic search form with options.
I could monkey patch this or create a dummy errors method to patch this app-side but think it could be beneficial generally. I have a branch that I have it working in (with tests) but cannot push it - receive a 403.
The text was updated successfully, but these errors were encountered:
Thanks Joel. I agree that adding the functionality to the gem is probably a good idea - I can't see any reason not to! If you fork this repo and create a PR I'll gladly review your changes and collaborate on adding the feature.
This allows non-ActiveModel/ActiveRecord objects to be used by the form
builder, it's sometimes useful when working with transient data; an
example would be searches.
Fixes#88
Hi @peteryates, this is great stuff and was looking to implement in a product I am working on over in MoJ.
One problem is you cannot use it against a plain ruby class due to the lack of
errors
on the object. I am just looking to create a basic search form with options.I could monkey patch this or create a dummy
errors
method to patch this app-side but think it could be beneficial generally. I have a branch that I have it working in (with tests) but cannot push it - receive a403
.The text was updated successfully, but these errors were encountered: