If association is a hash-like object preloading fails
If you pass a hash-like object to preload associations (for example ActionController::Parameters) preloader will fail with the ArgumentError. This change allows passing objects that may be converted to a Hash or String into a preloader
Showing
想要评论请 注册 或 登录