# This will generate required RJS support in your application. # # example: # rake generate:javascript # class JavascriptGenerator < Genosaurus def setup error = %{ 'js_framework' is not specified in your configatron/default.rb file. To fix this error, please open your {PROJ}/config/configatron/default.rb file, then uncomment the line that says "# js_framework: jquery" (or prototype, if you specified prototype as the js framework). Once you have uncomment that line, please re-run 'rake generate:javascript' again. Thanks!} raise error if configatron.mack.js_framework.nil? end def js_framework # :nodoc: configatron.mack.js_framework end end