Sha256: 48a0538de10c8b6415f3ea4dd4cb3dc31d8511a2099b8db0d00c4294d8362956

Contents?: true

Size: 525 Bytes

Versions: 54

Compression:

Stored size: 525 Bytes

Contents

module OldSql
  class OldSqlGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)
    namespace "old_sql"

    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

"
    end

  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
old_sql-1.3.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-1.2.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-1.1.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-1.0.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.59.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.58.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.57.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.56.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.55.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.54.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.53.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.52.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.51.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.50.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.49.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.48.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.47.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.46.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.45.0 lib/generators/old_sql/old_sql_generator.rb
old_sql-0.44.0 lib/generators/old_sql/old_sql_generator.rb