public
Created

Kennedy Article on Rails Secuity

  • Download Gist
assignment_helper.php
PHP
1 2 3 4 5 6 7 8 9 10 11
<?php
// ...
protected function build_params() {
$params = array();
foreach($_POST as $key => $value) {
$params[":$key"] = $value;
}
return $params;
}
// ...
?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.