Module: ActiveRecord::Querying
- Extended by:
- RDL::Annotate
- Defined in:
- lib/types/rails/active_record/comp_types.rb
Instance Method Summary collapse
-
#first ⇒ Object
Types from this module are used when receiver is ActiveRecord::Base.
Methods included from RDL::Annotate
attr_accessor_type, attr_reader_type, attr_writer_type, post, pre, rdl_alias, readd_comp_types, type, type_params, var_type
Instance Method Details
#first ⇒ Object
Types from this module are used when receiver is ActiveRecord::Base
132 |
# File 'lib/types/rails/active_record/comp_types.rb', line 132 type :first, '() -> ``DBType.rec_to_nominal(trec)``', wrap: false |