3 ms·
Rather than completely rolling my own, I like to use Sorcery[1] for authorization now. It concentrates on providing the bare minimum that every app absolutely n
by jdminhbg 13y ago
Rather than completely rolling my own, I like to use Sorcery[1] for authorization now. It concentrates on providing the bare minimum that every app absolutely needs, making it much easier to build on top of than Devise, where you're constantly searching around their codebase trying to figure out what they provide and how to override it.
I still don't get why people use these form helper gems. In every single project I've worked on that used them, we've spent more time fighting them in complex cases than we saved in potentially repetitive simple cases.
[1] https://github.com/NoamB/sorcery https://github.com/NoamB/sorcery
- subsection1h 13y agoI still don't get why people use these form helper gems. We recently rewrote the views for one of our Rails apps and we used SimpleForm with its Bootstrap wrappers. We compared some of the new form views to the old views, and the new views had around 80% less code. we've spent more time fighting them in complex cases A form builder need not be used for every form. Most of our forms use SimpleForm, but not all of them do.