diff options
Diffstat (limited to 'public/rails-improvements.html')
-rw-r--r-- | public/rails-improvements.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/rails-improvements.html b/public/rails-improvements.html index fa0a7c0..2b7f527 100644 --- a/public/rails-improvements.html +++ b/public/rails-improvements.html @@ -10,9 +10,9 @@ <header><a href="/">Luke Shumaker</a> » <a href=/blog>blog</a> » rails-improvements</header> <article> <h1 id="miscellaneous-ways-to-improve-your-rails-experience">Miscellaneous ways to improve your Rails experience</h1> -<p>Recently, I've been working on <a href="https://github.com/LukeShu/leaguer">a Rails web application</a>, that's really the baby of a friend of mine. Anyway, through its development, I've come up with a couple things that should make your interactions with Rails more pleasant.</p> +<p>Recently, I’ve been working on <a href="https://github.com/LukeShu/leaguer">a Rails web application</a>, that’s really the baby of a friend of mine. Anyway, through its development, I’ve come up with a couple things that should make your interactions with Rails more pleasant.</p> <h2 id="auto-reload-classes-from-other-directories-than-app">Auto-(re)load classes from other directories than <code>app/</code></h2> -<p>The development server automatically loads and reloads files from the <code>app/</code> directory, which is extremely nice. However, most web applications are going to involve modules that aren't in that directory; and editing those files requires re-starting the server for the changes to take effect.</p> +<p>The development server automatically loads and reloads files from the <code>app/</code> directory, which is extremely nice. However, most web applications are going to involve modules that aren’t in that directory; and editing those files requires re-starting the server for the changes to take effect.</p> <p>Adding the following lines to your <a href="https://github.com/LukeShu/leaguer/blob/c846cd71411ec3373a5229cacafe0df6b3673543/config/application.rb#L15"><code>config/application.rb</code></a> will allow it to automatically load and reload files from the <code>lib/</code> directory. You can of course change this to whichever directory/ies you like.</p> <pre><code>module YourApp class Application < Rails::Application @@ -56,7 +56,7 @@ module ActionView end end end</code></pre> -<p>I'll probably update this page as I tweak other things I don't like.</p> +<p>I’ll probably update this page as I tweak other things I don’t like.</p> </article> <footer> |