Skip to content
This repository was archived by the owner on Jun 30, 2018. It is now read-only.

Conversation

hallelujah
Copy link

This allows to import scoped documents in mongoid 3.x

rake environment tire:import:model CLASS='Article.where(published: true)'

Without it it will import all Article because of Mongoid::Criteria#tire is
proxied to Article::tire

This allows to import scoped documents in mongoid 3.x

    rake environment tire:import:model CLASS='Article.where(published: true)'

Without it it will import all Article because of Mongoid::Criteria#tire is proxied to Article::tire
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant