1. Nope. There's the main index:
    0.0.0.0:3000/posts #which is placed in => 
/views/posts/index.html.erb

   and there's the tag action:
   0.0.0.0:3000/posts/tag/TAG_NAME #which is placed in 
/views/posts/tag.html.erb

2. Nope. But I didn't get the right post neither before. Changing from 
(params[:name]) to (params[:id]) didn't change big things. Even though 
the url 0.0.0.0:3000/posts/tag/TAG_NAME or also 
0.0.0.0:3000/posts/tag/TAG_ID are recognized and loaded, they don't 
display the relatives posts.

3. In routes.rb there's this line that should be sufficient as 
instruction, but maybe I'm missing something :
   resources :posts
   match ':controller(/:action(/:id(.:format)))'

Thanks for your help!

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to