RubyGems Navigation menu

is_association 0.0.2

Patches ActiveRecord::Base to expose a method is_association? The method will return true for all associations like has_one, has_many and belongs_to while returning false for regular attributes on the table.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.2 - November 05, 2012 (5.5 KB)
  2. 0.0.1 - November 05, 2012 (6 KB)

Owners:

Authors:

  • Alain M. Lafon

SHA 256 checksum:

13307ca065adbf46b4540de9974aecd0494758210361eb0250ccf2a0955892a5

Total downloads 7,087

For this version 4,115

Licenses:

N/A

Required Ruby Version: None

Links: