Is DOM not being loaded ?
- by Daniel
I went through episode 88 (Dynamic menus) of the railscasts and when I try to load my *js.erb file in the browser shows me that my fetched data from the controller is getting there
Controller
def dynamic_departments
@departments = Department.all
end
localhost:3000/javascripts/dynamic_departments.js
var departments = new Array();
…