Imagine you've got a blogging app and it's currently generating URL paths like posts/10 for individual posts. You decide the path should contain the post title (in some form) to make your URLs friendlier when someone reads them. I know I certainly prefer to read http://caiustheory.com/abusing-ruby-19-and-json-for-fun vs http://caiustheory.com/?id=70. (That's a fun blog post if you're into (ab)using ruby occasionally!) --More--
Tagged with security
#to_param and keyword slugs
– 2011-07-05 23:13:43
Education Network Restrictions
– 2009-07-31 14:14:16
This is a re-run of an old post I took offline in an old server move and hadn't re-published. --More--
Validating Data with Regular Expressions in Ruby
– 2009-04-11 12:41:48
I happened to be sent a link to the OWASP paper on Rails Security recently and started reading it. Partway in there's a section on Regular Expressions, which opens with the following line: --More--