Module: VkillGemsMethods::ActiveRecord::Base::ClassMethods
- Defined in:
- lib/vkill_gems_methods/active_record/base.rb
Instance Method Summary collapse
- #abstract_models(&block) ⇒ Object
- #all_models(&block) ⇒ Object
- #models(&block) ⇒ Object
- #single_table_inheritance_super_models(&block) ⇒ Object
Instance Method Details
#abstract_models(&block) ⇒ Object
12 13 14 |
# File 'lib/vkill_gems_methods/active_record/base.rb', line 12 def abstract_models(&block) models_block descendants_abstract_models, &block end |
#all_models(&block) ⇒ Object
8 9 10 |
# File 'lib/vkill_gems_methods/active_record/base.rb', line 8 def all_models(&block) models_block descendants_all_models, &block end |
#models(&block) ⇒ Object
20 21 22 |
# File 'lib/vkill_gems_methods/active_record/base.rb', line 20 def models(&block) models_block descendants_models, &block end |
#single_table_inheritance_super_models(&block) ⇒ Object
16 17 18 |
# File 'lib/vkill_gems_methods/active_record/base.rb', line 16 def single_table_inheritance_super_models(&block) models_block descendants_single_table_inheritance_super_models, &block end |