Rails 4 implementation of data server