文件名称:state_machines-activerecord, StateMachines Active Record 集成.zip
文件大小:49KB
文件格式:ZIP
更新时间:2022-10-07 23:52:24
开源
state_machines-activerecord, StateMachines Active Record 集成 StateMachines Active Record 集成Active Record 4.1 集成添加对数据库事务的支持,自动保存记录,命名范围,验证错误。依赖项Active Record 4.1 安装将此行
【文件预览】:
state_machines-activerecord-master
----.travis.yml(2KB)
----log()
--------.gitkeep(0B)
----Rakefile(169B)
----test()
--------machine_with_event_attributes_on_save_bang_test.rb(2KB)
--------machine_with_initialized_state_test.rb(1KB)
--------machine_nested_action_test.rb(900B)
--------machine_with_events_test.rb(304B)
--------machine_with_event_attributes_on_validation_test.rb(3KB)
--------machine_with_same_column_default_test.rb(651B)
--------machine_with_dirty_attribute_and_state_events_test.rb(505B)
--------machine_with_loopback_test.rb(595B)
--------machine_with_validations_and_custom_attribute_test.rb(525B)
--------model_test.rb(369B)
--------machine_with_states_test.rb(310B)
--------machine_with_different_column_default_test.rb(795B)
--------machine_with_callbacks_test.rb(5KB)
--------machine_with_failed_before_callbacks_test.rb(1KB)
--------machine_unmigrated_test.rb(373B)
--------machine_with_same_integer_column_default_test.rb(709B)
--------machine_by_default_test.rb(344B)
--------machine_with_scopes_and_joins_test.rb(1KB)
--------machine_with_dirty_attributes_test.rb(1007B)
--------integration_test.rb(905B)
--------test_helper.rb(2KB)
--------machine_with_custom_attribute_test.rb(519B)
--------machine_with_conflicting_state_name_test.rb(837B)
--------machine_with_transactions_test.rb(557B)
--------machine_errors_test.rb(576B)
--------machine_with_validations_test.rb(1KB)
--------machine_without_transactions_test.rb(565B)
--------machine_with_failed_after_callbacks_test.rb(1017B)
--------machine_with_dirty_attribute_and_custom_attributes_during_loopback_test.rb(690B)
--------machine_with_scopes_test.rb(2KB)
--------machine_with_default_scope_test.rb(436B)
--------machine_with_column_state_attribute_test.rb(1KB)
--------machine_with_event_attributes_on_autosave_test.rb(1KB)
--------machine_with_complex_pluralization_scopes_test.rb(391B)
--------machine_with_conflicting_predicate_test.rb(350B)
--------machine_with_dirty_attributes_during_loopback_test.rb(594B)
--------machine_with_event_attributes_on_save_test.rb(6KB)
--------machine_with_dynamic_initial_state_test.rb(2KB)
--------machine_with_failed_action_test.rb(1KB)
--------machine_multiple_test.rb(509B)
--------machine_with_aliased_attribute_test.rb(538B)
--------machine_with_dirty_attributes_and_custom_attribute_test.rb(973B)
--------machine_with_static_initial_state_test.rb(5KB)
--------machine_with_internationalization_test.rb(6KB)
--------machine_without_database_test.rb(455B)
--------files()
--------machine_with_event_attributes_on_custom_action_test.rb(922B)
--------machine_with_state_driven_validations_test.rb(852B)
--------machine_with_scopes_and_owner_subclass_test.rb(925B)
--------machine_with_different_integer_column_default_test.rb(830B)
--------machine_with_non_column_state_attribute_defined_test.rb(800B)
----gemfiles()
--------active_record_4.1.gemfile(331B)
--------active_record_edge.gemfile(382B)
--------active_record_4.2.gemfile(331B)
--------active_record_6.0.gemfile(307B)
--------active_record_5.2.gemfile(369B)
--------active_record_5.1.gemfile(369B)
--------active_record_5.0.gemfile(400B)
----Appraisals(1KB)
----Gemfile(92B)
----state_machines-activerecord.gemspec(1KB)
----.gitignore(185B)
----lib()
--------state_machines-activerecord.rb(215B)
--------state_machines()
----README.md(3KB)
----LICENSE.txt(1KB)