title: nested form_for singular resource
body: <p>I have a singular nested resource like so:</p>
  
  <pre><code>  map.resources :bookings, :member =&gt; { :rate =&gt; :post } do |booking|
      booking.resource :review
    end
  </code></pre>
  
  <p>Giving me these routes:</p>
  
  <pre><code>   new_booking_review GET    /bookings/:booking_id/review/new(.:format)      {:controller=&gt;"reviews", :action=&gt;"new"}
    edit_booking_review GET    /bookings/:booking_id/review/edit(.:format)     {:controller=&gt;"reviews", :action=&gt;"edit"}
         booking_review GET    /bookings/:booking_id/review(.:format)          {:controller=&gt;"reviews", :action=&gt;"show"}
                        PUT    /bookings/:booking_id/review(.:format)          {:controller=&gt;"reviews", :action=&gt;"update"}
                        DELETE /bookings/:booking_id/review(.:format)          {:controller=&gt;"reviews", :action=&gt;"destroy"}
                        POST   /bookings/:booking_id/review(.:format)          {:controller=&gt;"reviews", :action=&gt;"create"}
  </code></pre>
  
  <p>I tried this:</p>
  
  <pre><code>&lt;% form_for [@booking, @review] do |f| %&gt;
  </code></pre>
  
  <p>Which returned this error:</p>
  
  <pre><code>undefined method `booking_reviews_path' for #&lt;ActionView::Base:0x10572b888&gt;
  </code></pre>
  
  <p>With my reviews controller</p>
  
  <pre><code>  def new
      @review = Review.new
      @booking = Booking.find(params[:booking_id])
    end
  </code></pre>
  
  <p>But this works... if I list the URL explicitly...</p>
  
  <pre><code>&lt;% form_for :review, :url =&gt; booking_review_path(@booking) do |f| %&gt;
  </code></pre>
  
  <p>It's not a big deal... but i'm wondering what i'm doing wrong.</p>
  
  <p>Thanks</p>