MarkUsProject/Markus — pull request #1579 by ferrous26 (2014-07-16 06:34:08+00:00)
Title: Fix security warning from Rails 4 related to regepx anchors

`^` and `$` allow for multiline strings to slip unsanitized lines through:

```
2.1.2 :001 > "hello\nthere".match(/^[a-z]+$/)
=> #
```

We obviously don't want students to submit [Bobby Tables](http://xkcd.com/327/). `\A` and `\z` match the entire string and is the recommended way to sanitize the input in Rails 4.