3 ms·
This is one of my favorite things about Rails and the Ruby/Rails ecosystem. Removing features is viewed as a good thing. You might have to install a simple plug
by javery 17y ago
This is one of my favorite things about Rails and the Ruby/Rails ecosystem. Removing features is viewed as a good thing. You might have to install a simple plugin but for all the users who don't need it that's a bit of code that they don't have to download, install, and run.
- timmorgan 17y agoThe feature I'm thinking of is/was (I thought) a core feature of the form helpers -- form.error_messages and error_messages_for. I think since the beginning of Rails' inception, this feature has been included in scaffolding, shown in docs, etc. I would expect most Rails apps to use that particular feature. And that's just one example.
- megaduck 17y agoI think you've just proved the point. I never use the form helpers, and do most form-like things through custom javascript and AJAX calls. Including form helpers is a waste of space for me. Not everybody builds Rails apps the same way. I think that this flexibility is one of the framework's strengths.