is there a way to pass the data returned by the to_parm function in a
helper?
i followed the info provided at http://www.jroller.com/obie/entry/seo_optimization_of_urls_in and am
able to successfully get the correct urls, now i want to be able to get
the same (id-whatever) text and pass it to a helper function for further
processing.
It can be accomplished by calling the to_param (not to_parm) method on
the object in question. For instance, @city.to_param, where @city is a
City object.
It can be accomplished by calling the to_param (not to_parm) method on
the object in question. For instance, @city.to_param, where @city is a
City object.
Thanks for the information. That solved one of my problems.