RubyGems Navigation menu

matterful_attributes 0.0.2

Ruby / Rails gem that shims ActiveRecord::Base to provide some helpful methods for parsing out attributes that matter to humans, i.e. Address.first.matterful_attributes will return a hash of attributes minus id, type, polymorphic_id, polymorphic_type, cretated_at, updated_at and can also skip all foreign_keys, like category_id or status_id.

Gemfile:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 0.0.8 - July 14, 2015 (8,5 KB)
  2. 0.0.6 - November 15, 2013 (8 KB)
  3. 0.0.3 - June 10, 2013 (7,5 KB)
  4. 0.0.2 - June 09, 2013 (7,5 KB)
  5. 0.0.1 - June 09, 2013 (7,5 KB)
Mostrar todas as versões (7)

Development Dependencies (2):

bundler ~> 1.3
rake >= 0

Donos:

Autores:

  • Nick Gorbikoff

SHA 256 checksum:

9346b892721a1c122412dd2cba83418614835c489c7f1ad3881e22db88ae55b5

Total de downloads 15.988

Desta versão 3.139

Licença:

MIT

Versão Requerida do Ruby: Nenhum

Links: