Sha256: 2021ed96cc77fc1c10b0fe88951034ebbb6ea611fe6e14c50341e9c83e8ef769
Contents?: true
Size: 433 Bytes
Versions: 4
Compression:
Stored size: 433 Bytes
Contents
require 'securerandom' module Opro module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Creates a Opro initializer" class_option :orm def copy_initializer template "opro.rb", "config/initializers/opro.rb" end def run_other_generators generate "active_record:opro" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems