Class: OldSql::OldSqlGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/old_sql/old_sql_generator.rb

Instance Method Summary collapse

Instance Method Details



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/generators/old_sql/old_sql_generator.rb', line 6

def print_instructions
  puts "OldSql!

Hello, to install old_sql into your app you need to run:

  rails g old_sql:install

By default Old SQL works with Devise to provide authentication. If you use
Devise, but want use another model than the default 'user' you can provide the
custom model name as an argument:

  rails g old_sql:install member
  
To copy file assets, old_sql.css and the layout for the report view, to your 
installation, execute:

  rails g old_sql:copy_assets

"
end