文件名称:activerecord-diff:[UNMAINTAINED]简单的ActiveRecord差异功能
文件大小:6KB
文件格式:ZIP
更新时间:2024-03-21 13:02:50
Ruby
活动记录差异 简单的ActiveRecord差异功能。 安装 $ gem install activerecord-diff 用法示例 require 'active_record/diff' class User < ActiveRecord xss=removed xss=removed> 'alice' , :email_address => 'alice@example.org' ) bob = User . create ( :name => 'bob' , :email_address => 'bob@example.org' ) alice . diff? ( bob ) # => true alice . diff ( bob ) # => {:name => ['al
【文件预览】:
activerecord-diff-master
----.gitignore(13B)
----.travis.yml(239B)
----activerecord_4_1.gemfile(99B)
----activerecord_3_2.gemfile(99B)
----spec()
--------active_record_diff_spec.rb(3KB)
----activerecord_3_0.gemfile(99B)
----README.md(1KB)
----activerecord-diff.gemspec(642B)
----lib()
--------active_record()
----activerecord_3_1.gemfile(99B)
----Gemfile(99B)
----Rakefile(149B)