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.

Versions:

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

Authors:

  • Alain M. Lafon

Owners:

35c1cdf5adb4aeb5060c8fe822e91dda

Sha 256 checksum:

13307ca065adbf46b4540de9974aecd0494758210361eb0250ccf2a0955892a5

Total downloads 2,036

For this version 1,053

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: