title: What's another way of writing this block without using do-end?
body: <p>How would you write this on the same line or on consecutive lines without do-end?</p>
  
  <pre><code>map.resources :magazines do |magazine| magazine.resources :ads end  
  </code></pre>