Hi 高志鑫,
I will fix this issue in a way that is backward compatible.
http://rubyforge.org/tracker/index.php?func=detail&aid=25015&group_id=2609&atid=10195
Thanks a lot and best regards,
--
John Mettraux - http://jmettraux.wordpress.com
Hi 高志鑫,
I have studied the issue more carefully. I have decided not to change
the separator from "." to "_" or something else now. It would require
too much "juggling" in the engine itself especially to stay "backward
compatible".
The way to go is to enforce using underscores instead of dots when
generating URLs and I have taken care of that in the latest commit to
ruote / ruote-rest and ruote-web2 :
http://github.com/jmettraux/ruote/commit/6f999c2a4a33f22806b71b4d83dec59c315b5986
http://github.com/jmettraux/ruote-rest/commit/04754202c4c7b984c4799568dc9385fbfa820975
http://github.com/jmettraux/ruote-web2/commit/bd21d7714910af68d3ec2f0a82d1b8df6117fb0d
I invite you to use the new methods OpenWFE.to_dots(s) and
OpenWFE.to_uscores(s) to take care of those _/. issues (follow the
example of ruote-rest and ruote-web2). The links generated by
ruote-rest and ruote-web2 (and later ruote-kit) will use "_".
For the next version of the core of ruote, I will not forget your
request not to use ".".
Thanks again for your report and your patch. Best regards,