Rails 3.1 compatibility.
Updated Ruby required version.
Code cleanup.
Can not use Project#find on scopes with Rails 3.1.
Use content_tag for empty option.
Clean up assertion.
Preserve xml output with Rails 3.1.
Undefined #builtin= with Rails 3.1.3.
Fixed migration broken with Rails 3.1.3 (#10320).