RubyGems Navigation menu

model_renamer 1.1.0

The model renamer gem allows you to rename any a model in your rails application. The gem looks for occurrences of any variation or pluralization of the old model name and changes it to the corresponding variation of the new name. It also generates database migrations that rename tables and foreign keys referencing the old name.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.1.0 - August 16, 2018 (9 KB)
  2. 1.0.0 - October 12, 2017 (9 KB)
  3. 0.1.5 - October 05, 2015 (8 KB)
  4. 0.1.4 - October 05, 2015 (8 KB)
  5. 0.1.3 - October 05, 2015 (8 KB)
Show all versions (7 total)

Runtime Dependencies (3):

Development Dependencies (5):

bundler ~> 1.9
memfs >= 0
pry-byebug >= 0
rake ~> 10.0
rspec >= 0

Owners:

Authors:

  • Paul Gut

SHA 256 checksum:

a3e1735b98ec96f06aef49c3048287931b6aaff80608954d3e1d9f4818270bfe

Total downloads 14,438

For this version 2,140

License:

MIT

Required Ruby Version: >= 0

Links: