Module: Phillumeny::ActiveRecord
- Defined in:
- lib/phillumeny/active_record.rb,
lib/phillumeny/active_record/have_default_value_of.rb,
lib/phillumeny/active_record/cover_query_with_indexes.rb
Overview
:nodoc:
Defined Under Namespace
Modules: TableInformation Classes: CoverQueryWithIndexes, HaveDefaultValueOf
Instance Method Summary collapse
-
#cover_query_with_indexes(columns) ⇒ Phillumeny::ActiveRecord::CoverQueryWithIndexes
Comb through indexes to ensure the columns are covered.
-
#have_default_value_of(default_value) ⇒ Phillumeny::ActiveRecord::HaveADefaultValueOf
Confirm a default value is getting returned as expected.
Instance Method Details
#cover_query_with_indexes(columns) ⇒ Phillumeny::ActiveRecord::CoverQueryWithIndexes
Comb through indexes to ensure the columns are covered
18 19 20 |
# File 'lib/phillumeny/active_record/cover_query_with_indexes.rb', line 18 def cover_query_with_indexes(columns) CoverQueryWithIndexes.new(columns) end |
#have_default_value_of(default_value) ⇒ Phillumeny::ActiveRecord::HaveADefaultValueOf
Confirm a default value is getting returned as expected
22 23 24 |
# File 'lib/phillumeny/active_record/have_default_value_of.rb', line 22 def have_default_value_of(default_value) HaveDefaultValueOf.new(default_value) end |