DEV Community


Discussion on: 13 more gems I use all.the.time

rhymes profile image

Nice list.

Pundit is one of my favorite gems! But I'm sure that for complex authorization use cases might fall short.

I would like to suggest the following gems that are basically part of my toolbox:

  • lograge: to condense log lines in a oneliner which is very useful if paired with log management tools (but even with a simple grep and some regular expressions).

  • activerecord-import: great for bulk inserts (for example when you have to parse uploaded user data to insert in the DB)

  • oj: fast JSON parser, which can be also used as a replacement for default Rails JSON encoder