I have nested routes for a has_many and belongs_to relationship.
resources :websites, :path => \'w\' do resources :pages, :path => \'\' end
Adding scope might be an answer:
friendly_id :name, :use => :scoped, :scope => :website