Sha256: efa65c260f77741eadc94950957cc0f9cd3d2ff7dd95f6099a85354a511f390b
Contents?: true
Size: 911 Bytes
Versions: 38
Compression:
Stored size: 911 Bytes
Contents
This piggy backs off of the [rails scaffold generator](https://guides.rubyonrails.org/command_line.html#rails-generate). ## Example $ jets generate scaffold post title:string body:text published:boolean invoke active_record create db/migrate/20180817052529_create_posts.rb create app/models/post.rb invoke resource_route route resources :posts invoke scaffold_controller create app/controllers/posts_controller.rb invoke erb create app/views/posts create app/views/posts/index.html.erb create app/views/posts/edit.html.erb create app/views/posts/show.html.erb create app/views/posts/new.html.erb create app/views/posts/_form.html.erb invoke helper create app/helpers/posts_helper.rb $
Version data entries
38 entries across 38 versions & 2 rubygems