Hi

   I have my application rails version 2.2.2  And this thing

map.resources :users, :only => [:index] do |u|
 u.resources :categories
end

  when I tried this in 2.3.2 rails I get what I required Means it only
cretes user index and then all other routes for categories ..But when I
tried it on 2.2.2 version it only created index for both user and
categories  Could you please suggest how I can solve this?


Thanks in advance
Sijo
-- 
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