Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This is pretty interesting comment as I've written a fair bit of code, in Ruby, in the last month, using regexes, to prevent sql injection.
But at 8 kyu, I am unable to understand what is required to pass the specs, and cannot justify any further time to figure it out. There are much more interesting problems which are much better worded.
Perhaps this problem just doesn't work as described in Ruby? Could it be removed? Deprecated?
The idea was to mimic sql injection when passing through to the validator class so you would have to create a function to catch passwords that contained any, unfortunatly it wasn't translated into the other versions.
I guess this applys only to the Ruby version? Because surely if you tried to do that in the javascript version which I wrote that would fail all tests. unfortunatly I cannot change any Code because there have been 500+ successful solutions. I apologise.
On another note, I believe my original idea for this kata was lost in translation so to speak which is why the different code versions aren't the same. Sorry but I cannot change anything now.