× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Must have development Rails gems

Miha Rekar
Sep 13, 2014
<p><strong>TL;DR: </strong><a href="https://github.com/charliesome/better_errors">better_errors</a>, <a href="https://github.com/nixme/jazz_hands">jazz_hands</a>, <a href="https://github.com/flyerhzm/bullet">bullet</a>, <a href="https://github.com/evrone/quiet_assets">quiet_assets</a>, <a href="https://github.com/SamSaffron/MiniProfiler/tree/master/Ruby">rack-mini-profiler</a>, <a href="https://github.com/Springest/terminal-notifier-guard">terminal-notifier-guard</a>, <a href="https://github.com/laserlemon/figaro">figaro</a></p><p><strong>The gems</strong></p><p><a href="https://github.com/charliesome/better_errors">better_errors</a></p><p>Seriously can't develop without this one anymore. It replaces the standard Rails error page with a much better and more useful error page. You should also install <a href="https://github.com/banister/binding_of_caller">binding_of_caller</a> which gives you REPL and local/instance variable inspection which is just awesome. You can also use it with Pry, just put this in your development.rb initializer:</p><pre><code>BetterErrors.use_pry! AwesomePrint.defaults = { plain: true } </code></pre><p><a href="https://github.com/nixme/jazz_hands">jazz_hands</a></p><p>Now this is a collection gem - it includes many many many sweet gems:</p><ul><li><a href="http://pry.github.com">Pry</a> for a powerful shell alternative to IRB.</li><li><a href="https://github.com/michaeldv/awesome_print">Awesome Print</a> for stylish pretty print.</li><li><a href="https://github.com/cldwalker/hirb">Hirb</a> for tabular collection output.</li><li><a href="https://github.com/rweng/pry-rails">Pry Rails</a> for additional commands (<code>show-routes</code>, <code>show-models</code>, <code>show-middleware</code>) in the Rails console.</li><li><a href="https://github.com/pry/pry-doc">Pry Doc</a> to browse Ruby source, including C, directly from the console.</li><li><a href="https://github.com/pry/pry-git">Pry Git</a> to teach the console about git. Diffs, blames, and commits on methods and classes, not just files.</li><li><a href="https://github.com/Mon-Ouie/pry-remote">Pry Remote</a> to connect remotely to a Pry console.</li><li><a href="https://github.com/nixme/pry-debugger">Pry Debugger</a> to turn the console into a simple debugger.</li><li><a href="https://github.com/pry/pry-stack_explorer">Pry Stack Explorer</a> to navigate the call stack and frames.</li><li><a href="https://github.com/Mon-Ouie/coolline">Coolline</a> and <a href="https://github.com/rubychan/coderay">Coderay</a> for syntax highlighting as you type.</li></ul><p><a href="https://github.com/flyerhzm/bullet">bullet</a></p><p>Now this is a very simple gem, that looks at your queries. Whenever you do a N+1 it'll log it and optionally alert you. There are many ways it can report to you, just read the README.</p><p><a href="https://github.com/evrone/quiet_assets">quiet_assets</a></p><p>Nothing more annoying that those assets requests spam messages in Rails log. This shuts it off.</p><p><a href="https://github.com/SamSaffron/MiniProfiler/tree/master/Ruby">rack-mini-profiler</a></p><p>It's a middleware that displays speed badge for every page. It shows a nice sidebar with all the DB requests and timings and such. Useful for identifying bottlenecks.</p><p><a href="https://github.com/Springest/terminal-notifier-guard">terminal-notifier-guard</a></p><p>Adds native notifications to Guard. Only useful if you use Guard and are on Mac OS 10.8+</p><p><a href="https://github.com/laserlemon/figaro">figaro</a></p><p>It's the best Rails configuration gem I came across. It provides a clean and simple way to configure your app and keep the private stuff private. This way you can easily open source projects without worrying about secret tokens and such. The best of all? It knows how to export those ENV vars to Heroku.</p>
comments powered by Disqus