Fix deprecation warning
Update rails dependencies
Update to Rails 4 RC 1