RubyGems.org

Updates records from the console via your preferred editor. You can update a record's columns as well as <i>any attribute</i> 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. Compatible with all major Ruby versions and Rails 2.3.x and up.

installgem install console_update
Authors

Gabriel Horner

6,595 total downloads 1,023 for this version
Owners

8f0660cdc9f5d91c7d97456f8f0be8c7

Gemfile
gem "console_update", "~> 0.1.6"
Versions
  1. 0.1.6 February 25, 2012
  2. 0.1.5 September 30, 2010
  3. 0.1.4 June 10, 2010
  4. 0.1.3 June 10, 2010
  5. 0.1.2 October 22, 2009