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

Total downloads 1,741

For this version 903

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'is_association', '~> 0.0.2' = Copy to clipboard Copied!

install:
gem install is_association = Copy to clipboard Copied!

Links: