rails app using sc api