lib/generators/attachs/upload/upload_generator.rb in attachs-4.0.0.1 vs lib/generators/attachs/upload/upload_generator.rb in attachs-4.0.0.2
- old
+ new
@@ -1,9 +1,9 @@
require 'rails/generators'
module Attachs
module Generators
- class UploadGenerator < ::Rails::Generators::Base
+ class UploadGenerator < Rails::Generators::Base
include Rails::Generators::Migration
source_root File.expand_path('../templates', __FILE__)
def create_model_file