Asked

What are your favorite Ruby gems?

CSS

JS

  • gon โ€“ set JS vars in controller (e.g. current_user.id)
  • turbolinks โ€“ fast front-end, without requiring complicated JS (e.g. React)

SEO

Development

  • rubocop โ€“ for yourself to write better Ruby
  • better_errors โ€“ name speaks for itself
  • letter_opener โ€“ whenever Rails sends an email, it will just show it in the browser
  • dotenv-rails โ€“ use .env file for your ENV vars

Misc

  • friendly_id โ€“ flexible way of generating slugs
  • groupdate โ€“ group records by day/week/month, useful for analytics
  • rack-attack โ€“ block spammers, scrapers, and other abusive clients
  • shrine โ€“ extensible file upload gem
  • simple_form โ€“ better way to generate HTML forms

A few of yours plus:

ADMINISTRATION

  • Active Admin - Simplify the way you manage your website and your models.

CSS

  • bootstrap. Add twitter bootstrap.

HTML

  • haml. Save time and gain clarity with your html code

  • httparty. Makes http fun again! (not my words but pretty accurate)

API

  • apipie-rails. Easily document your API

MISC

Of course donยดt forget. Devise, sidekiq, stripe ...

Debugging:
https://github.com/pry/pry - Pry gem, an alternative to the IRB shell.
https://github.com/deivid-rodriguez/byebug - Byebug gem, you can pinpoint where the bug is in that specific code

STYLES:

https://rubygems.org/gems/bulma-rails --> add styles to your page, similar to twitter bootstrap
https://rubygems.org/gems/font-awesome-rails --> font awesome in embedded Ruby! So good for links
https://github.com/kaminari/kaminari --> for pagination, lets you break down your collection of items to be broken down

GRITTER GEM https://rubygems.org/gems/gritter --> users will have notification if they something to the app like sign out, post a question, add an answer. That black box you see that pops up on the upper tight. WIP.chat has this ๐Ÿ˜„

FWIW, I don't use gritter. It's just a standard Rails flash notice with some CSS. No Javascript needed.

no idea you could do that haha

wait fwiw, i actually know how to do it but i started using gritter first but now i switched it, don't know how to delete the comment above๐Ÿ˜…

Sign in to answer ๐Ÿ˜ƒ