RubyGems.org

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.

installgem install is_association
Authors

Alain M. Lafon

1,525 total downloads 790 for this version
Owners

35c1cdf5adb4aeb5060c8fe822e91dda

Gemfile
gem 'is_association', '~> 0.0.2'
Versions
  1. 0.0.2 November 5, 2012 (5.5 KB)
  2. 0.0.1 November 5, 2012 (6 KB)