Lets say I did
script/generate controller home
And in the home controller made a the method…
puts “You are here”
How would I call that method in the index.html.erb?
When learning ruby it just said to run the whatever.rb in the terminal
to run what ever code you wrote within that file. Just curious on how
would work with rails.