adding rails and ios