class ChattableGenerator < Rails::Generator::Base def manifest record do |m| m.file 'chat_controller.rb', 'app/controllers/chat_controller.rb' m.file 'chat_helper.rb', 'app/helpers/chat_helper.rb' m.directory 'public/images/chattable' m.file 'close.gif', 'public/images/chattable/close.gif' end end end