Hot answers tagged

2 votes

Breadth and Depth First Search in Ruby

Your prose announces a Binary Search Tree (BST), the "code block title" Create Binary Tree; the code fits the latter. In ...
greybeard's user avatar
  • 6,286
2 votes

Rails session after migrate from PHP (improved)

Regarding the PHP part, you can make it a bit simpler $result = password_verify($password, $hased_password); exit((int)$result);
Your Common Sense's user avatar
1 vote

Session Logic for User Verification in Rails Migration

This mostly looks good and sensible, but it does raise some serious concerns. naming Using a php_ prefix is accurate, and perhaps a good name. But consider using a <...
J_H's user avatar
  • 22.1k

Only top scored, non community-wiki answers of a minimum length are eligible