Fork me on GitHub

console_update by cldwalker

A rails plugin which allows you to edit your database records via the console and your favorite editor.

Install

gem install console_update

Description

Updates records from the console via your preferred editor. You can update a record’s columns as well as any attribute that has accessor methods. Records are edited via a temporary file and once saved, the records are updated. Records go through a filter before and after editing the file. Yaml is the default filter, but you can define your own filter simply with a module and 2 expected methods. See ConsoleUpdate::Filter for more details.

Read documentation.

Download

You can download this project in either zip or tar formats, or clone the project with Git:

$ git clone git://github.com/cldwalker/console_update

Issues

Issues, bugs, feature requests? Please report them on github.

Links

Check out blog posts related to this project.

License

MIT

Authors

Gabriel Horner (gabriel.horner [AT] gmail.com)