Answer the question
In order to leave comments, you need to log in
Method Not Allowed?
I got an assignment at the university to make a site on Ruby on Rails. Usually I like to study more and more deeply, but for me a particular topic is not interesting. I'm going through Ruby on Rails for Beginners (Michael Hartl). I do everything according to the algorithm
class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
def hello
render html: "hello, world!"
end
end
Rails.application.routes.draw do
resources :users
root 'application#hello'
end
Answer the question
In order to leave comments, you need to log in
Thanks everyone, I've solved the issue.
Just need to run if you are using cloud9 using Share as mentioned in the first chapter.
I originally ran from a link after the command heroku create
. It's not really easy for me to follow this book, because. very annoying learning surface in the first chapters. Thanks to all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question