mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
add note about habtm relations with scopes
This commit is contained in:
parent
78c4e30c6d
commit
2ffeee3d2a
1 changed files with 2 additions and 0 deletions
|
@ -895,6 +895,8 @@ CatalogProduct < ActiveRecord::Base
|
|||
end
|
||||
```
|
||||
|
||||
* Note that the the prefix takes scopes into account as well, so relations between `Catalog::Category` and `Catalog::Product` or `Catalog::Category` and `CatalogProduct` need to be updated similarly.
|
||||
|
||||
### Active Resource
|
||||
|
||||
Rails 4.0 extracted Active Resource to its own gem. If you still need the feature you can add the [Active Resource gem](https://github.com/rails/activeresource) in your Gemfile.
|
||||
|
|
Loading…
Reference in a new issue