Sha256: d86ad815fb00f84b8b5558cced7a486ffdf0cd1d3c338dd04fd18c544be90f56
Contents?: true
Size: 410 Bytes
Versions: 6
Compression:
Stored size: 410 Bytes
Contents
module LolitaFileUpload module Generators class InstallGenerator < Rails::Generators::Base include Lolita::Generators::FileHelper source_root File.expand_path("../templates", __FILE__) desc "Create migrations. " def copy_migration copy_file "migration.rb", "db/migrate/#{Time.now.strftime("%Y%m%d%H%M%S")}_create_lolita_upload_files.rb" end end end end
Version data entries
6 entries across 6 versions & 1 rubygems