GithubHelp home page GithubHelp logo

Hashie::to_hash argument options about hashie HOT 7 CLOSED

hashie avatar hashie commented on July 20, 2024
Hashie::to_hash argument options

from hashie.

Comments (7)

jch avatar jch commented on July 20, 2024

It's still there, could you paste a backtrace?

from hashie.

tzahif1 avatar tzahif1 commented on July 20, 2024

In Hashie 2.0.1, inside hash.rb the method is:

def to_hash
...
end

from hashie.

jch avatar jch commented on July 20, 2024

Ah sorry, I misread your comment. I thought you meant I removed to_hash. What is the argument used for? A regular ruby Hash also does not take an arg for to_hash

from hashie.

tzahif1 avatar tzahif1 commented on July 20, 2024

The Omniauth2 is using this to_hash.
It can't support Hashie 2 then, since it pass parameter to the to_hash.

from hashie.

jch avatar jch commented on July 20, 2024

@mbleigh do you know why omniauth2 uses to_hash with an argument? It
doesn't look like to_hash should take an argument.

On Tue, Feb 26, 2013 at 10:07 AM, tzahif1 [email protected] wrote:

The Omniauth2 is using this to_hash.
It can't support Hashie 2 then, since it pass parameter to the to_hash.


Reply to this email directly or view it on GitHubhttps://github.com//issues/84#issuecomment-14129875
.

-Jerry
@whatcodecraves http://twitter.com/whatcodecraves
github http://github.com/jch

from hashie.

tzahif1 avatar tzahif1 commented on July 20, 2024

I only came across it when my "Facebook connect" functionality stopped working when using the Omniauth. I then restricted the Hashie (which was not explicitly added to my Gemfile) to use the 1.2.0 version. I am not sure that this should be the situation.

from hashie.

jch avatar jch commented on July 20, 2024

Sorry about the mixup, it's been fixed in 2.0.2. See also #85

from hashie.

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.