Use the fetch method to retrieve the rails app to prevent undefinded
method errors