title: Where do you extend classes in your rails application?
body: <p>Just about to extend the Array class with the following extension:</p>
  
  <pre><code>class Array
    def shuffle!
      size.downto(1) { |n| push delete_at(rand(n)) }
      self
    end
  end
  </code></pre>
  
  <p>However, I was wondering where a good place to keep these sort of extensions. I was thinking  environment.rb or putting in its own file in the initializers directory.</p>