title: nested resources in rails 3
body: <p>My routes file is:</p>
  
  <pre><code>resources :countries do
    resources :regions do 
      resources :appartments
    end
  end
  </code></pre>
  
  <p>models:</p>
  
  <pre><code>Country: has_many :regions
  
  Region: belongs_to :country, has_many :appartments
  
  Appartment: belongs_to: region
  </code></pre>
  
  <p>Region_controller: </p>
  
  <pre><code>def index
    @country = Country.find(params[:country_id])
    @regions = @country.regions
  end
  
  
  def show
    @country = Country.find(params[:country_id])
    @region = @country.regions.find(params[:id])
  end  
  </code></pre>
  
  <p>Question:</p>
  
  <p>I want to show appartments on the region page. What's the best practice in my region controller?</p>