I have a problem where the app I am developing uses SEO friendly urls
using the to_params method.

When using the the finder method find_by_id('13-Some-other-text') it
is not finding the record.
The record is there.
If I put a to_i() on the value it works fine.

I thought ActiveRecord did this automatically

Steve

--~--~---------~--~----~------------~-------~--~----~
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