title: Simplifying method
body: <p>I have this method which works fine but I'm thinking that it may be improved, either for readability and/or efficience.</p>
  <pre><code>def default_something
      something =
      Legal::Something.find_for_A_in_placea('xx', claim.blabla.identifier) ||
      Legal::Something.find_for_B_in_placeb('xx', claim.eligible.first.bleble.indivcode) ||
      Legal::Something.find_for_B_in_placeb('xx', claim.eligible.last.blublu.indivcode) ||
      Legal::Something.find_by(id: DEFAULT_SOMETHING_ID)
  
      {
       'name' =&gt; something.name,
       'day' =&gt; something.meta_data[:day],
       'hour' =&gt; something.meta_data[:hour],
      }
  end
  </code></pre>
  <p>I can &quot;beautify it&quot; by creating some more methods like:</p>
  <pre><code>def default_something
      something = def A || def B || (etc)
  end
  
  def A
    Legal::Something.find_for_A_in_placea('xx', claim.blabla.identifier)
  end
  
  def B
    Legal::Something.find_for_B_in_placeb('xx', claim.eligible.first.bleble.indivcode) ||
    Legal::Something.find_for_B_in_placeb('xx', claim.eligible.last.blublu.indivcode)    
  end
  </code></pre>
  <p>In addition I should say:</p>
  <ul>
  <li><code>find_for_B</code> part only retrieves a value when claim.eligible.first.bleble.indivcode || claim.eligible.last.blublu.indivcode = 'ASL'</li>
  </ul>
  <p>Is the &quot;beautified&quot; version the way to go?
  And/or should I add an if statement regarding</p>
  <pre><code>Legal::Something.find_for_B_in_placeb('xx', claim.eligible.first.bleble.indivcode) ||
  Legal::Something.find_for_B_in_placeb('xx', claim.eligible.last.blublu.indivcode)
  </code></pre>
  <p>to improve efficiency and readability, stating it happens only when &quot;indivcode&quot; = &quot;ASL&quot;?
  What else can I do?</p>