title: Changing the first day of week in rails
body: <p>I and trying to build a calendar in ruby on rails.</p>
  
  <p>In ruby-on-rails, monday is considered to be the first day of the week, but i have to set sunday as the first. I intend to change this to properly use the date's built-in methods RoR.
  Assuming today is sunday, oct 24th. Look the example:</p>
  
  <pre><code>Date.now.beginning_of_week
  </code></pre>
  
  <p>it prints: <code>2010-10-18</code> ;but if i could set sunday as the first of the week, it should print : <code>2010-10-24</code></p>