Avoiding Rails Plugins, as much as possible (AMAP?)
Rails is a marvel piece of software, ever-evolving, ever-maturing.
Out of the box, if comes with ever-increasing features, which is making the web development cycle, and workflow, more comfortable from the point of view of the developer. Some of the less-known features, which can be used, to construct useful use-cases. Each of these are potential plugins but open to your choice of implementation
Usables
- Inflections
Say you have a weird / unorthodox model name, like Person. You would expect Rails to say 10 people, and 1 Person. (This is a default implementation supported by Rails, but proves the point).
A normal implementation would tell Rails to make the plural, 10 persons.
The override is provided in config/inflections.rb
inflect.irregular 'person', 'people'
(You might note, the line is commented, as it is handled in Rails, but given only to provide an example)
You can choose...