📎 Webclip
Must Have Gems for Development Machine in Ruby on Rails
The page gathers a set of Ruby on Rails gems for development work and groups them by the kind of help they provide. The list covers error pages, query and performance checks, console tools, mail testing, code analysis, UML generation, image optimization, and faster app startup.
Reading notes#
- better_errors replaces the standard Rails error page with a more useful one, and binding_of_caller adds advanced inspection features.
- annotate generates schema information at the top of model files.
- bullet watches queries during development and warns about N+1 queries, unnecessary eager loading, and missing counter caches.
- debugger is presented as a debugger for Rails applications.
- flay analyzes structural similarities in code while ignoring literals, names, whitespace, style, and similar differences.
- hirb adds a nicer console view with tables, paging, trees, and menus.
- localtunnel exposes a local web server to the public Internet.
- lol_dba scans models for columns that probably should be indexed and can generate SQL migration scripts.
- mailcatcher runs a simple SMTP server that captures mail and shows it in a web interface.
- meta_request, described as RailsPanel, shows request details in the browser developer tools.
- pry is an IRB alternative and runtime developer console.
- quiet_assets mutes assets pipeline log messages.
- rack-mini-profiler shows a speed badge for each HTML page.
- railroady generates Rails 3 model and controller UML diagrams as SVG or DOT.
- rails-footnotes adds footnotes to Rails pages with application details and editor links.
- rails_best_practices is a code metric tool for Rails projects.
- reek detects code smells in Ruby.
- request-log-analyzer analyzes request log files to produce a performance report.
- smusher reduces image files without loss.
- zeus boots a Rails app in under a second.
