Bypass validations on Tolk::Sync#sync_phrases #29

Merged
merged 1 commit into from Mar 4, 2013

Conversation

Projects
None yet
2 participants
Contributor

elDub commented Feb 11, 2013

When updating the primary_updated flag on secondary phrases for which
the primary phrase has been updated, use a direct-to-DB call to avoid
invoking possibly heavy ActiveRecord validations or triggering an
exeption when the variables used in the phrase change. (fixes #28)

Bypass validations on Tolk::Sync#sync_phrases
When updating the primary_updated flag on secondary phrases for which
the primary phrase has been updated, use a direct-to-DB call to avoid
invoking possibly heavy ActiveRecord validations or triggering an
exeption when the variables used in the phrase change. (fixes #28)

thomasdarde added a commit that referenced this pull request Mar 4, 2013

Merge pull request #29 from elDub/bypass_validations_on_sync
Bypass validations on Tolk::Sync#sync_phrases

@thomasdarde thomasdarde merged commit f45e1d6 into tolk:master Mar 4, 2013

1 check failed

default The Travis build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment