DEV Community

acuevasd
acuevasd

Posted on

Back to App Dev

Coming back rusty, things to remember:

  • bin/server after generating new resources
  • if pending migration, the error page has a button that does it

New stuff:

  • with a hash plus an array, select routes to have with scaffold: resources :books, { :only => [:get,:post]} resources :books, { :except => [:delete]}
  • We can drop the hash and parenthesis when a method does not have order of operations and if the method is just being called without a receiver, so no object dot before it. Like render

Top comments (0)