↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

Some Of My Favorite Ruby Gems

The post lists Ruby gems the author uses often in Ruby on Rails projects and recommends as useful picks for common app needs. The gems cover authentication, authorization, charts, schema notes, friendly URLs, meta tags, analytics, drafts, debugging, payments, email testing, markdown, voting, tagging, unread tracking, pagination, background jobs, and scheduled tasks.

Reading notes
#

  • Devise is presented as a flexible and easy authentication solution the author uses in every project.
  • CanCanCan is recommended for adding custom abilities and roles for permissions.
  • Chartkick is described as an easy way to add charts and visual analytics to a Rails app.
  • Annotate adds schema comments to model files as ActiveRecord columns change.
  • FriendlyID replaces numeric IDs in URLs with human-friendly strings for readability and SEO.
  • MetaTags lets a Rails app insert default, dynamic, and social meta information with little effort.
  • Impressionist tracks impressions or page views and is useful for tutorial or art-focused sites.
  • Draftsman supports draft states and includes scopes and instance methods for publishing content.
  • Pry and pry-rails are recommended for debugging and for richer rails console output.
  • Pay helps integrate payments and subscriptions using Stripe and Braintree.
  • Mailcatcher is favored for setting up and running mail handling in Rails apps.
  • RedCarpet converts markdown to HTML with many options.
  • ActsAsVotable supports voting on comments, posts, and other content.
  • ActsAsTaggable adds tagging to models quickly and easily.
  • Unread manages unread records, mark-as-read actions, unread scopes, and uses one extra database table.
  • Homebrew and Homebrew-cask are described as the author’s top pick for installing software.
  • Pagy is favored for pagination because of its performance and ease of use.
  • Sidekiq is recommended for background processing and sending large numbers of emails.
  • Whenever is presented as the default cron job scheduler for Rails apps.