title: Rails4 Deprecation warning for find_or_initialize_by method
body: <p>I am upgrading to Rails4 from 3.2. I have the following query:</p>
  
  <pre><code>progress = Progress.find_or_initialize_by_chore_id_and_period_and_account_id(chore.id, period[chore.frequency], chore.account_id)
  </code></pre>
  
  <p>While running test, I am getting deprecation warning </p>
  
  <pre><code>DEPRECATION WARNING: This dynamic method is deprecated. Please use e.g. Post.find_or_initialize_by(name: 'foo') instead. (called from bump_progress at /Users/newimac/RailsApp/bank/app/models/child.rb:200)
  </code></pre>
  
  <p>So, I have updated my query as follows: </p>
  
  <pre><code>progress = Progress.where('chore.id' =&gt; 'chore_id', 'period[chore.frequency]' =&gt; 'period', 'chore.account_id' =&gt; 'account_id').first_or_initialize
  </code></pre>
  
  <p>But its not working. Is my query correct ?</p>