Question: how to send data from controller to view in ruby on rails?
Answer: html. erb' in the directory "app/views/say". Navigate to the URL http://localhost:3000/say/hello then you will see "Madhuka" in html view. Now you can pass data from controller to view!!