14 rails update

Close #14