News for hackers. Stuff that matters.
Re:Ruby on Rails SQL Injection by Robin_Message on Wednesday June 13, 2012 @07:14AM (#4105303)
(rant) Since Rails devs don't appear to believe in databases (and to be fair, if I was targeting MySQL version 3 I'm not sure I would believe in them much either), they don't bother using database features for binding. Instead having their own half baked (well, it 90% baked now, but it still has the occasional squishy bit) binding system.

Same for validations, foreign keys, primary keys, indexes, enumerations, etc. (/rant)

Re:Ruby on Rails SQL Injection by benmmurphy on Wednesday June 13, 2012 @08:35AM (#4105511)
the places where these sql injections were happening wouldn't be prevented from traditional sql bindings which are applied to parts of the where clause or set values. in JDBC land i don't think you can do "SHOW TABLES FROM ? WHERE ...."