ensure reference to Rails is always prefixed with ::

Fixed problem with formtastic-bootstrap gem, in trying to make it work with formtastic 2.2.