RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Running and Destroying with Rails

I’ve been developing with Rails for years, and only recently discovered the rails destroy command. Like magic, it allows you to undo a previous rails generate command, for example when you make a typo or forget a column when generating a model or scaffold. In this post I explain how to use rails destroy, as well as another lesser-known command, rails runner.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in