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
          gem 'is_association', '~> 0.0.2'
  
  
  
  
  
  
  

install
          gem install is_association
  
  
  
  
  
  
  

Authors:

  • Alain M. Lafon

Owners:

Total downloads 1,698

For this version 881

Required Ruby Version: None

Links:

Versions:

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