-
Notifications
You must be signed in to change notification settings - Fork 58
Remove dynamic_form? #1110
Comments
@caseywatts, I blame you :-P (e27a92f) I have no idea if we're using it or why, but this really highlights the need for #600. |
So, uh, it used to be a plugin in Shifts and in the process of upgrading from Rails 2 to Rails 3, I removed it and readded it as a gem (YaleSTC/shifts@c701d82). From my comments, it seems to be needed for |
More info here: YaleSTC/shifts#279 |
Ah okay. Looking into it a bit more, we don't actually need |
Haha YaleSTC/shifts#130 🌜 |
@jasonkliu Wait what about YaleSTC/shifts#130? |
Dynamic form can be easily removed -- a long time ago, we just tried to put plugins and gems in to make them work. (It should be removed from Shifts too) |
As far as I can tell it's not doing anything; we only use it on the new reservation / request form and the only thing we're validating there is the presence of a justification for a request and it appears as though that's independent of the errors we're displaying. I think we can safely remove |
So, looking at our Gemfile, I noticed that we're using dynamic_form, but I can't figure out why. It doesn't do anything that simple_form can't already do (and in fact does a whole lot less), and it's unmaintained. Was this to fix some form view errors when we upgraded to Rails 4? Either way, it should be replaced completely with simple_form, which we already use.
The text was updated successfully, but these errors were encountered: