RubyGems Navigation menu

active_record_composition 0.0.3

ActiveRecord is awesome, inheritance is not always so awesome. This gem is for people who want to use ActiveRecord but don't want to be forced to use inheritance of ActiveRecord:Base in their models. Magic stuff happens that keeps the ActiveRecord::Base relationship away from your model object graph until runtime but you can still use all the ActiveRecord methods on your model as you're accustomed to. Also, you now have an inheritance slot freed up - easy peasy :-)

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.3 - February 26, 2012 (4.0 KB)
  2. 0.0.2 - February 26, 2012 (3.5 KB)
  3. 0.0.1 - February 24, 2012 (4.0 KB)

Runtime 依赖 (1):

activerecord >= 3.2.1

业主:

作者:

  • Kevin Beddingfield

SHA 256 校验和:

2c7fd0e8ced2369e3f66b45af9ddd2fe01fbe9f8157969fb5d03b460324e2635

下载总量 24,862

这个版本 9,440

许可:

需要的 Ruby 版本:

链接: