6 Matching Annotations
- Mar 2021
-
github.com github.com
-
how to have validations in model and some in contract/form object without duplicating
-
- Feb 2021
-
github.com github.com
-
Nevermind, I use now reform-rails
-
@adisos if reform-rails will not match, I suggest to use: https://github.com/orgsync/active_interaction I've switched to it after reform-rails as it was not fully detached from the activerecord, code is a bit hacky and complex to modify, and in overall reform not so flexible as active_interaction. It has multiple params as well: https://github.com/orgsync/active_interaction/blob/master/spec/active_interaction/modules/input_processor_spec.rb#L41
I'm not sure what he meant by:
fully detached from the activerecord I didn't think it was tied to ActiveRecord.
But I definitely agree with:
code is a bit hacky and complex to modify
Tags
- flexibility
- recommended software
- active_interaction
- too coupled/dependent
- pointing out gaps/downsides/cons in competition/alternatives
- switching/migrating to something different
- I agree
- reform (Ruby)
- recommended option/alternative
- evaluating software options
- hard to understand
- too complicated
- missed opportunity
Annotators
URL
-
-
-
DSLs can be problematic for the user since the user has to manage state (e.g. am I supposed to call valid? first or update_attributes?). This is exactly why the #validate is the only method to change state in Reform.
-
I like your API here much better than reform's API.
-
reform conflates these two responsibilities into a single validate method
-