Some basic questions about discourse and rails

Empty #main tag is placeholder for Ember to render html elements.

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse.js.es6#L7

As you see in above code we are commanding Ember to render it’s output to #main section tag.