GithubHelp home page GithubHelp logo

Comments (7)

benzittlau avatar benzittlau commented on August 16, 2024

I've also just hit this issue.

from validates_timeliness.

benzittlau avatar benzittlau commented on August 16, 2024

My temporary fix for this is to use Mongoid 2.3.1. It appears that the change to the reload implementation was incorporated for 2.3.2.

from validates_timeliness.

benzittlau avatar benzittlau commented on August 16, 2024

I've fixed this on my own branch with the following modification. I haven't yet had a chance to perform any testing or validation that this actually still works, but at least I'm able to boot my app:

benzittlau@3fdd3aa

from validates_timeliness.

adzap avatar adzap commented on August 16, 2024

Thanks for the work guys. Sorry I am slow on this as I am on limited internet at the moment. This fix for this should now be easier than using alias_method_chain. Since the method is not defined on Document any more we can just define it in the Mongoid shim and include that it the Ruby inheritance will look after it.

Only issue is backwards compatibility. I will have a look into it more shortly.

from validates_timeliness.

adzap avatar adzap commented on August 16, 2024

I have pushed a fixed for this. Please verify it.

from validates_timeliness.

nickw avatar nickw commented on August 16, 2024

Yep seems to be working now. Will you be pushing this to a 3.0.8 gem?

from validates_timeliness.

adzap avatar adzap commented on August 16, 2024

Yep. Just wanted confirmation.

On 22/12/2011, at 12:26 PM, Nick [email protected] wrote:

Yep seems to be working now. Will you be pushing this to a 3.0.8 gem?


Reply to this email directly or view it on GitHub:
#56 (comment)

from validates_timeliness.

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.