GithubHelp home page GithubHelp logo

Comments (9)

nateberkopec avatar nateberkopec commented on June 14, 2024

Hm, this gem definitely seems incompatible with store_accessor - I'm getting the same issue.

from activerecord-postgres-hstore.

anthonator avatar anthonator commented on June 14, 2024

Looking around I'm seeing workarounds but it seems to make sense to bake this in.

https://gist.github.com/2834785

from activerecord-postgres-hstore.

Tonkpils avatar Tonkpils commented on June 14, 2024

👍 I actually ended up using that. Although, I later realized that in my use case it wasn't necessary to have accessors for the attributes and I just needed to iterate through all the dynamic attributes in the hstore and display them. There still might be that use case where the accessors in the hstore attributes might come in handy.

from activerecord-postgres-hstore.

jsmestad avatar jsmestad commented on June 14, 2024

Any official word on placing this workaround in the gem itself?

from activerecord-postgres-hstore.

diogob avatar diogob commented on June 14, 2024

I'll take a look ASAP

from activerecord-postgres-hstore.

masterkain avatar masterkain commented on June 14, 2024

Watching this 👍

from activerecord-postgres-hstore.

b-murphy avatar b-murphy commented on June 14, 2024

+1

from activerecord-postgres-hstore.

jatap avatar jatap commented on June 14, 2024

+1
👍

from activerecord-postgres-hstore.

Tonkpils avatar Tonkpils commented on June 14, 2024

I'm going to close this as I'm no longer using this gem. Feel free to re-open if this is still an issue.

from activerecord-postgres-hstore.

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.