Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 475 Bytes

FAQ.md

File metadata and controls

20 lines (13 loc) · 475 Bytes

FAQ

1. HABTM issue

Q: HasAndBelongsToMany association outputs an issue:

fail HABTM_Categories article_id column is required in the database but do not have presence validator

but I don't have model defined, how to fix it?

A: Those kind of models have no differences with others, so you can disable it from being explored by specifying configuration like so:

HABTM_Categories:
  enabled: false