RubyGems Navigation menu

autoguid 1.1

Autoguid lets you trivially add human readable uuids to all your models, a whitelisted set of models, or a blacklisted set. Indices are automatically created based on a configuration option. There's also a rake task that will backfill these uuids into resources that have already been created. To get started, include the gem file, run `bundle install`, then run `rake autoguid:install`. From there, edit the config/initializers/autoguid.rb file to specifcy your configuration. Next, migrate your tables with `rake autoguid:migrate:up` and `rake autoguid:migrate:backfill` as required. `rake autoguid:migrate:drop_all` will drop all autoguid generated columns and the data in them. You can always change the config/initializers/autoguid.rb file and rerun `rake autoguid:migrate:up` to add autoguid to new models.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 1.1 September 24, 2014 (7.5KB)
  2. 1.0 September 06, 2014 (7.5KB)

Runtime依存関係 (1):

rails >= 4.1.4, ~> 4.1.4

Development依存関係 (3):

rake >= 10.1.0, ~> 10.1.0
rspec >= 3.0.0, ~> 3.0.0
sqlite3 >= 1.3.9, ~> 1.3.9

所有者:

作者:

  • Peter Kinnaird

SHA 256チェックサム:

=

累計ダウンロード数 7,036

このバージョンのみ 3,991

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: