Sha256: 3b4c7f156bcafde00d80bc1cb2045b2101bef0405625d8f996b3d3d1a1712378
Contents?: true
Size: 585 Bytes
Versions: 32
Compression:
Stored size: 585 Bytes
Contents
Description: Generates CRUD operations, along with a controller, views and an entry in the route file Example: bin/rails generate operation User This will create: app/operations/user/load.rb app/operations/user/create.rb app/operations/user/update.rb app/operations/user/destroy.rb app/controllers/users_controller.rb app/views/users/index.html.haml app/views/users/show.html.haml app/views/users/new.html.haml app/views/users/edit.html.haml And add a routing entry: resources :users
Version data entries
32 entries across 32 versions & 1 rubygems