Module: ActiveRecord::Poro::ClassMethods
- Defined in:
- lib/active_record/poro.rb
Instance Method Summary collapse
- #add_autosave_association_callbacks(reflection) ⇒ Object
- #connection ⇒ Object
- #generated_feature_methods ⇒ Object
- #pluralize_table_names ⇒ Object
Instance Method Details
#add_autosave_association_callbacks(reflection) ⇒ Object
24 25 26 |
# File 'lib/active_record/poro.rb', line 24 def add_autosave_association_callbacks(reflection) # NOOP end |
#connection ⇒ Object
28 29 30 |
# File 'lib/active_record/poro.rb', line 28 def connection ActiveRecord::Base.connection end |
#generated_feature_methods ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/active_record/poro.rb', line 16 def generated_feature_methods @generated_feature_methods ||= begin mod = const_set(:GeneratedFeatureMethods, Module.new) include mod mod end end |
#pluralize_table_names ⇒ Object
12 13 14 |
# File 'lib/active_record/poro.rb', line 12 def pluralize_table_names true end |