
Ruby on Rails render template: Controller makes a very important decision of which view to load. We have seen in our previous tutorial about how controller loads view based on the url. For example if the url has demo/index. Then Demo Controller’s index method called. And Controller by default loads demo/index.html.erb view from views directory. […]