require 'rid/generators/named_base' module Rid::Generators class UpdateGenerator < NamedBase def create_update_function template "update.js", "updates/#{pluralized_model_name}.js" end end end