Giter VIP home page Giter VIP logo

Comments (3)

magnusvk avatar magnusvk commented on May 28, 2024

Hah! That was a fun little distraction. Fixed in 0.1.10. Not sure about the wisdom of triggering an update on the same model instance in an after_create. But, hey, this fix doesn't hurt other use cases, so why not.

In case you are curious: The update_column you did from within after_create fired a separate call to counter_culture's after_update, but all within the same save. That triggered another increment. I'm now checking for that specifically.

from counter_culture.

danahern avatar danahern commented on May 28, 2024

Awesome, thank you so much and thanks for responding so quickly. You got that done quick!

I'm totally in agreement on the update after save (this particular instance was a strange edge case dealing with a legacy schema).

I thought it might be something like that, I'll check out the changes you made and see how you fixed it so maybe I can help in the future.

Thanks again!

from counter_culture.

magnusvk avatar magnusvk commented on May 28, 2024

Happy to help! This is the commit that fixes this, in case you are curious:
bestvendor/counter_culture@6cd8491

On Wed, Mar 27, 2013 at 4:37 PM, Dan Ahern [email protected] wrote:

Awesome, thank you so much and thanks for responding so quickly. You got
that done quick!

I'm totally in agreement on the update after save (this particular
instance was a strange edge case dealing with a legacy schema).

I thought it might be something like that, I'll check out the changes you
made and see how you fixed it so maybe I can help in the future.

Thanks again!


Reply to this email directly or view it on GitHubhttps://github.com/bestvendor/counter_culture/issues/11#issuecomment-15551531
.

from counter_culture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.