Ticket #3 (closed defect: invalid)

Opened 6 years ago

Last modified 5 years ago

include_translated doesn't work with inluce (find method)

Reported by: b.eggleston@gmail.com Assigned to:
Priority: trivial Milestone: rails-1.1
Component: model Version:
Keywords: Cc:

Description

When using Model.find with the include_translated option, the include option gets ignored.

Change History

04/06/07 13:32:22 changed by zlgdgzl

04/27/07 11:45:11 changed by saimonmoore

  • priority changed from major to trivial.
  • status changed from new to closed.
  • resolution set to invalid.

zlgdgzl,

In globalize 1-1 if your model is globalized then include doesn't work and that's why include_translated is provided. This is to do with the way model translations are implemented in 1.1 (The external storage mechanism). If you read the documentation, you'll see how to use include_translated.

In globalize for-1.2, you now have the option to select another storage mechanism, the internal storage mechanism which removes this limitation. Please check the wiki for more info.