Sha256: b1b35c6cde3c4625bb41c806eb572715082a41f28a63dc55015466e2fe04b0c5

Contents?: true

Size: 353 Bytes

Versions: 4

Compression:

Stored size: 353 Bytes

Contents

class AppbombadoArticleGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

def generate_appbombado_article


  run "rails g scaffold article title body:text published_at:datetime"
  run "rake db:migrate"



  # run "rails g scaffold-controller admin/article title body:text published_at:datetime"




  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
appbombado_startae-0.0.7 lib/generators/appbombado_article/appbombado_generator.rb
appbombado_startae-0.0.6 lib/generators/appbombado_article/appbombado_generator.rb
appbombado_startae-0.0.5 lib/generators/appbombado_article/appbombado_generator.rb
appbombado_startae-0.0.4 lib/generators/appbombado_article/appbombado_generator.rb