Rails DatePicker - Object [object Object] has no method 'datepicker'
问题 I'm trying to add datepicker to my rails 3.2.8 application. Since it is rails 3+, I didn't add anything to the application.html.erb. My application.js is the following: // This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. // //