3 ms·
I feel like this article nails a few things, then builds a structure around some things that just aren't true. its totally possible, for example, to have valida
by karmajunkie 12y ago
I feel like this article nails a few things, then builds a structure around some things that just aren't true. its totally possible, for example, to have validations that apply to a normal user but not an admin. The real problem that's missed in this article is that validations shouldn't be on the data or the persistence, but on the interaction.
I'm totally with the OP on saying goodbye to Rails proper, but if one doesn't understand the essence of why the 'breakup' is necessary and good, the same mistakes will be repeated with the next language/framework/platform one chooses to date.
I am playing with the position that if you want to use Rails as intended by its creators and your application is too complex to implement in ActiveAdmin without a lot of accidental complexity, you should find another framework.[1]
[1] Substitute another well-designed scaffolding engine if you like. The statement still feels true if you duck type that piece.