2 ms·
> Why is this a gem? > I've solved this problem the same way probably 5 times in rails apps Because gems avoid such code duplication, they're the correct way
by gnaritas 9y ago
> Why is this a gem?
> I've solved this problem the same way probably 5 times in rails apps
Because gems avoid such code duplication, they're the correct way to "share" code between projects rather than reinventing the solution each time you need it.