Hello I'm trying to implement dataTables per the railscast[1] on it. I just want to setup the simple client side version he introduces in the beginning. So far I've added this to my gem file:
I ran bundle install. And then added this to my app/assets/javascripts/application.js:
And this to my app/assets/stylesheets/application.css:
When I fire up the development server I get this error:
I'm sure I'm missing something simple here, but not sure what it is. Any suggestions?
[1]: http://railscasts.com/episodes/340-datatable
Cross posted on stackoverflow: http://stackoverflow.com/questions/12960742/railscast-340-datatables-couldnt-find-file-datatables-jquery-datatables
group :assets do gem 'jquery-datatables-rails', github: 'rweng/jquery-datatables-rails' gem 'jquery-ui-rails' end
I ran bundle install. And then added this to my app/assets/javascripts/application.js:
//= require dataTables/jquery.dataTables
And this to my app/assets/stylesheets/application.css:
*= require dataTables/jQuery.dataTables
When I fire up the development server I get this error:
couldn't find file 'dataTables/jQuery.dataTables' (in /Users/ircmullaney/RubyCode/cif/app/assets/stylesheets/application.css:13)
I'm sure I'm missing something simple here, but not sure what it is. Any suggestions?
[1]: http://railscasts.com/episodes/340-datatable
Cross posted on stackoverflow: http://stackoverflow.com/questions/12960742/railscast-340-datatables-couldnt-find-file-datatables-jquery-datatables