activerecord_strategystore:活动记录

时间:2021-04-28 19:39:06
【文件属性】:
文件名称:activerecord_strategystore:活动记录
文件大小:47KB
文件格式:ZIP
更新时间:2021-04-28 19:39:06
Ruby ActiveRecord :: StrategyStore 具有各种强制转换字段以执行策略。 安装 将此行添加到您的应用程序的Gemfile中: gem 'activerecord-strategystore' OR gem 'activerecord-strategystore', git: 'git://github.com//Yoshyn/activerecord_strategystore.git' 然后执行: $ bundle 或将其自己安装为: $ gem install activerecord-strategystore 用法 它的工作方式类似于: 您可以通过使用acts_as_strategy_store来复制store关键字来声明一个类似于store的字段 # == Schema Information # Table name: software # id
【文件预览】:
activerecord_strategystore-master
----README.md(4KB)
----lib()
--------activerecord_strategystore.rb(384B)
--------strategy_store()
--------tasks()
----activerecord_strategystore.gemspec(1017B)
----Gemfile(582B)
----MIT-LICENSE(1KB)
----Rakefile(595B)
----test()
--------ar_ss_configuration_test.rb(1KB)
--------dummy()
--------test_helper.rb(964B)
--------ar_ss_implementation_test.rb(2KB)
--------ar_strategy_store_test.rb(3KB)
----Gemfile.lock(3KB)

网友评论