RubyGems Navigation menu

is_association 0.0.1

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:

bbc93846f3409ded65ac79888a59a3326233aab4e5d147e24da9cf008c1deb7a

Total downloads 7,109

For this version 2,980

Licenses:

N/A

Required Ruby Version: None

Links: