<!doctype html> <html lang=en> <head> <link rel=dns-prefetch href="//fonts.googleapis.com/"> <meta charset=utf-8 /> <meta content="text/html; charset=utf-8" http-equiv=Content-Type> <meta content=en http-equiv=Content-Language> <meta content=en name=language> <meta content="width=device-width, initial-scale=1.0, user-scalable=no" name=viewport> <meta http-equiv=X-UA-Compatible content="IE=edge;chrome=1"/> <title>eMaxime - Web Development &amp; Ruby on Rails blog</title> <meta name=description /> <meta property="og:type" content=website /> <meta property="og:url" content="https://emaxime.com/"/> <meta property="og:title" content="eMaxime Blog"/> <meta property="og:description" content="Web Development &amp;amp; Ruby on Rails blog"/> <meta property="og:site_name" content="eMaxime Blog"/> <link rel=stylesheet href="https://fonts.googleapis.com/css?family=PT+Serif:400,700"> <link href="/stylesheets/application-bf75c336.css" rel=stylesheet /> <link rel=alternate type="application/rss+xml" title="eMaxime article feed" href="https://emaxime.com/feed.xml"/> <link rel=apple-touch-icon sizes=57x57 href="/images/favicons/apple-touch-icon-57x57-c8de2b51.png"> <link rel=apple-touch-icon sizes=60x60 href="/images/favicons/apple-touch-icon-60x60-35df1afb.png"> <link rel=apple-touch-icon sizes=72x72 href="/images/favicons/apple-touch-icon-72x72-c8819652.png"> <link rel=apple-touch-icon sizes=76x76 href="/images/favicons/apple-touch-icon-76x76-c883755c.png"> <link rel=apple-touch-icon sizes=114x114 href="/images/favicons/apple-touch-icon-114x114-95a9a3ee.png"> <link rel=apple-touch-icon sizes=120x120 href="/images/favicons/apple-touch-icon-120x120-43b27261.png"> <link rel=apple-touch-icon sizes=144x144 href="/images/favicons/apple-touch-icon-144x144-d720732b.png"> <link rel=apple-touch-icon sizes=152x152 href="/images/favicons/apple-touch-icon-152x152-8c6218f2.png"> <link rel=apple-touch-icon sizes=180x180 href="/images/favicons/apple-touch-icon-180x180-c3e0fb98.png"> <link rel=icon type="image/png" href="/images/favicons/favicon-32x32-05e74514.png" sizes=32x32> <link rel=icon type="image/png" href="/images/favicons/android-chrome-192x192-7be07fce.png" sizes=192x192> <link rel=icon type="image/png" href="/images/favicons/favicon-96x96-949d305d.png" sizes=96x96> <link rel=icon type="image/png" href="/images/favicons/favicon-16x16-51c7c32d.png" sizes=16x16> <link rel=manifest href="/manifest.json"> <link rel="shortcut icon" href="/images/favicons/favicon.ico"> <meta name=msapplication-TileColor content="#0fb8ad"> <meta name=msapplication-TileImage content="/images/favicons/mstile-144x144-bfaf1294.png"> <meta name=msapplication-config content="/browserconfig.xml"> <meta name=theme-color content="#0fb8ad"> </head> <body> <div class="container main" role=main> <div class=wrapper> <h1> eMaxime, <span> Web development &amp; Ruby on Rails </span> </h1> <div class=articles-list> <div class=article-partial> <h2><a href='/2018/how-to-uninstall-all-ruby-gems'>How to uninstall all Ruby gems</a></h2> <p>Sometimes you want to remove all installed gems from your computer. This was the case for me when I upgraded my projects from Ruby 2.5.1 to 2.5.3 in order to clean things up in 2.5.1 and regain disk space. </p> <p class=article-readmore><a href='/2018/how-to-uninstall-all-ruby-gems'>Read more</a></p> <div class=article-info> Published on October 21, 2018 in <a href='/tags/ruby'>Ruby</a>. </div> </div> <div class=article-partial> <h2><a href='/2014/adding-a-staging-environment-to-rails'>Adding a staging environment to Rails</a></h2> <p>A staging environment is meant to track as closely as possible the production environment in order for your app to be entirely tested under the condition of production. Let’s dig into this. </p> <p class=article-readmore><a href='/2014/adding-a-staging-environment-to-rails'>Read more</a></p> <div class=article-info> Published on September 29, 2014 in <a href='/tags/ruby-on-rails'>Ruby on Rails</a>. </div> </div> <div class=article-partial> <h2><a href='/2013/revamping-this-blog'>Revamping this blog</a></h2> <p>Service announcement: the blog was revamped! I decided to make a few changes and to resume writing articles. </p> <p class=article-readmore><a href='/2013/revamping-this-blog'>Read more</a></p> <div class=article-info> Published on November 13, 2013 in <a href='/tags/miscellaneous'>Miscellaneous</a>. </div> </div> <div class=article-partial> <h2><a href='/2013/activecleaner-to-clean-your-fields-in-your-rails-models'>ActiveCleaner to clean your fields in your Rails models</a></h2> <p>Some time ago, I released a tiny gem that helps me to clean some user generated fields: <a href="https://github.com/maximeg/activecleaner">ActiveCleaner</a>. </p> <p class=article-readmore><a href='/2013/activecleaner-to-clean-your-fields-in-your-rails-models'>Read more</a></p> <div class=article-info> Published on March 14, 2013 in <a href='/tags/gems-party'>Gems Party</a>, <a href='/tags/ruby-on-rails'>Ruby on Rails</a>, and <a href='/tags/activecleaner'>ActiveCleaner</a>. </div> </div> <div class=article-partial> <h2><a href='/2012/eyr-refactoring-from-good-to-great-and-live'>EYR - Refactoring from good to great (and live)</a></h2> <p>Friday afternoon, <a href='/tags/enlarge-your-ruby'>Enlarge Your Ruby</a> is back. So, is your Friday afternoon boring ? What about refactoring ? It’s time to learn having fun doing that, turning pretty bad code into good one and even into great one.</p> <p>Ben Orenstein (<a href="https://twitter.com/r00k">@r00k</a>) did a great live refactoring on stage at Aloha Ruby Conf in October 2012. Worth seeing it. </p> <p class=article-readmore><a href='/2012/eyr-refactoring-from-good-to-great-and-live'>Read more</a></p> <div class=article-info> Published on November 23, 2012 in <a href='/tags/enlarge-your-ruby'>Enlarge Your Ruby</a>. </div> </div> <div class=article-partial> <h2><a href='/2012/eyr-wrangling-large-rails-codebases'>EYR - Wrangling large Rails codebases</a></h2> <p>This is the first post in <a href='/tags/enlarge-your-ruby'>Enlarge Your Ruby</a>, let’s start with an heavy one. Ruby on Rails gives a structure that helps organize our code. But when the app grows, we drown with hundreds of controllers, models, views. All this stuff is mixed. Tests take forever to run.</p> <p>Let’s see how to Divide and Conquer with embedded gems and engines. </p> <p class=article-readmore><a href='/2012/eyr-wrangling-large-rails-codebases'>Read more</a></p> <div class=article-info> Published on November 16, 2012 in <a href='/tags/enlarge-your-ruby'>Enlarge Your Ruby</a>. </div> </div> <div class=article-partial> <h2><a href='/2012/a-series-of-ruby-videos-each-friday-that-improves-yourself'>A series of Ruby videos each Friday that improves yourself</a></h2> <p>Friday afternoon, time passes slowly… What about watching a good talk or conference ? Something technical. Something great. Something about Ruby, Rails or Web development in general. Something that improves yourself. </p> <p class=article-readmore><a href='/2012/a-series-of-ruby-videos-each-friday-that-improves-yourself'>Read more</a></p> <div class=article-info> Published on November 14, 2012 in <a href='/tags/enlarge-your-ruby'>Enlarge Your Ruby</a> and <a href='/tags/miscellaneous'>Miscellaneous</a>. </div> </div> <div class=article-partial> <h2><a href='/2012/managing-private-settings-with-settingslogic'>Managing (private) settings with SettingsLogic</a></h2> <p>In a Ruby on Rails app, there are settings. Many settings. Some can vary from development to production. Some are private as they may be passwords, secret tokens…</p> <p>This is how I deal with those, using the tiny lib SettingsLogic. </p> <p class=article-readmore><a href='/2012/managing-private-settings-with-settingslogic'>Read more</a></p> <div class=article-info> Published on November 14, 2012 in <a href='/tags/gems-party'>Gems Party</a> and <a href='/tags/ruby-on-rails'>Ruby on Rails</a>. </div> </div> <div class=article-partial> <h2><a href='/2012/hello-world'>Hello, World!</a></h2> <p>I decided to create a dedicated blog, in English, to talk about this framework that I like more and more. Did you guess its name ? Yeah, Ruby on Rails. </p> <p class=article-readmore><a href='/2012/hello-world'>Read more</a></p> <div class=article-info> Published on April 3, 2012 in <a href='/tags/miscellaneous'>Miscellaneous</a>. </div> </div> </div> <div class=author-card> <a href="/" class=author-avatar> <img class=author-avatar-image srcset="/images/avatar@100w-29617f14.jpg 1x, /images/avatar@200w-8037a2e3.jpg 2x" src="/images/avatar@100w-29617f14.jpg" width=100 height=100 loading=lazy alt="Maxime Garcia"/> </a> <div class=author-name>Maxime Garcia</div> <div class=author-info> CTO @ <a href="https://www.go-electra.com" target=_blank>Electra</a> <br/> Living in Paris </div> <ul class=author-social-links> <li class=author-twitter-link><a href="https://twitter.com/maximegarcia">Twitter</a></li> <li class=author-google-link><a href="https://plus.google.com/104037777802290119819?rel=author">Google</a></li> <li class=blog-rss-feed><a href="https://emaxime.com/feed.xml">RSS</a></li> </ul> </div> </div> <div class=circle> <img class=circle-image src="/images/tie-my-boat-by-ray-garcia.jpg" srcset="/images/tie-my-boat-by-ray-garcia@450w-0db0b2b8.jpg 450w, /images/tie-my-boat-by-ray-garcia@900w-e83483c0.jpg 900w" sizes="(min-width: 1200px) 450px, 40vw" alt=""/> </div> </div> <div class="container secondary"> <div class=wrapper> <h2>Recent Articles</h2> <ul> <li><a href='/2018/how-to-uninstall-all-ruby-gems'>How to uninstall all Ruby gems</a> <span>Oct 21 2018</span></li> <li><a href='/2014/adding-a-staging-environment-to-rails'>Adding a staging environment to Rails</a> <span>Sep 29 2014</span></li> <li><a href='/2013/revamping-this-blog'>Revamping this blog</a> <span>Nov 13 2013</span></li> <li><a href='/2013/activecleaner-to-clean-your-fields-in-your-rails-models'>ActiveCleaner to clean your fields in your Rails models</a> <span>Mar 14 2013</span></li> <li><a href='/2012/eyr-refactoring-from-good-to-great-and-live'>EYR - Refactoring from good to great (and live)</a> <span>Nov 23 2012</span></li> </ul> <h2>Tags</h2> <ul class=tags-list> <li><a href='/tags/enlarge-your-ruby'>Enlarge Your Ruby</a>&nbsp;(3)</li> <li><a href='/tags/miscellaneous'>Miscellaneous</a>&nbsp;(3)</li> <li><a href='/tags/ruby-on-rails'>Ruby on Rails</a>&nbsp;(3)</li> <li><a href='/tags/gems-party'>Gems Party</a>&nbsp;(2)</li> <li><a href='/tags/activecleaner'>ActiveCleaner</a>&nbsp;(1)</li> <li><a href='/tags/ruby'>Ruby</a>&nbsp;(1)</li> </ul> <h2>By Year</h2> <ul class=years-list> <li><a href='/2018'>2018</a>&nbsp;(1)</li> <li><a href='/2014'>2014</a>&nbsp;(1)</li> <li><a href='/2013'>2013</a>&nbsp;(2)</li> <li><a href='/2012'>2012</a>&nbsp;(5)</li> </ul> <p class=bottom-notice> &copy; 1986-2021 <a href="/">eMaxime</a>, all rights reserved. <a href='/about'>About</a>. <a href="https://www.readshack.com">Readshack</a>. <a href="https://www.onetoreach.com">One to reach</a>. </p> </div> </div> <script>
        var _gaq = _gaq || [];
        _gaq.push(["_setAccount", "UA-30580139-1"]);
        _gaq.push(["_trackPageview"]);
        (function() {
          var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;
          ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";
          var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);
        })();
      </script> </body> </html>