Module: Utusemi::Core::ActiveRecord
- Defined in:
- lib/utusemi/core.rb
Overview
用途
whereなどのArelチェインにおいて、Utusemi.config.mapに設定したマッピングを
意識せずに実装できるよう、デフォルト名による各カラムへのアクセスを可能にする
使用例
Product.utusemi(:product).where(name: "test")
#=> [<products.titleが"test"であるレコード>]
Defined Under Namespace
Modules: AssociationMethods, Associations, Base, CollectionProxy, QueryMethods, Relation, RelationMethod