Hi there!
I experienced an issue with routing.
Basically, I'm trying to follow step-by-step the Rails' official guides
process for what concerns the nested routing.
So, I have Newspapers that has_many :ads , and :ads belongs to
:newspaper .
What I did was simply trying to obtain an URL like
On Thu, Nov 10, 2011 at 15:26, Leo M. li...@ruby-forum.com wrote:
I have Newspapers that has_many :ads , and :ads belongs to
:newspaper .
...
http://localhost/newspapers/1/ads/1
...
resources :newspapers do
resources :ads
end
...
No route matches {:controller=ads, :action=show, :id=#Ad
On Thu, Nov 10, 2011 at 4:26 PM, Leo M. li...@ruby-forum.com wrote:
Hi there!
I experienced an issue with routing.
Basically, I'm trying to follow step-by-step the Rails' official guides
process for what concerns the nested routing.
So, I have Newspapers that has_many :ads , and :ads
3 matches
Mail list logo