To all:
Hi,
i think i realise what i went wrong here at
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/47c3b56034adf347/265b30d3cd97e137?lnk=gst&q=restful_authentication+nested#
I think its all due to the problem of me using restful authentication
and override to_param method with a
overriding to_param method to use permalink instead of id
def to_param
self.permalink
end
inside my User model (user.rb)
to make my urls look like localhost:3000/users/peter_login/orders
rather than localhost:3000/users/2/orders
How do i reconcile getting more meaningful urls with restful
authentication?
Thank you.