*Wow @Hernán!* *JSONB looks super cool. Thanks! This might be exactly what I am looking for. I have never worked with with hstore or jsonb in postgresql but this might work.* *What I really want to so is use active scaffold's nice UI/ rich set of form_ui to make user defined tables. The idea would be to * *make other pre-defined user defined tables that could be added in as associations which could be addable basically on the fly as well. *
*JSONB looks really interesting...like a no sql setup only using postgresql which is already a requirement for this project.* *Have you got something like this (or even parts of JSONB) to work with active scaffold? Would love to see what you did.* *Thanks in advance!* *Mark* On Tuesday, October 20, 2015 at 1:49:49 PM UTC-4, Hernán Astudillo wrote: > > No, but i've used active scaffold with active_record serialize attributes. > It shouldn't need much tweaking i guess. > However, why you want hstore? Many postgresql users moved from hstore to > jsonb which is really awesome. Hstore allows a flat list, while jsonb (and > json) can store whole tree structures. The great deal with jsonb is that it > can be indexed with gin/gist keys and values. > > Take a look at this: > http://nandovieira.com/using-postgresql-and-jsonb-with-ruby-on-rails > > > On Tuesday, October 20, 2015 at 2:41:22 PM UTC-3, loveand light wrote: >> >> I am curious. Has anyone used hstore with active scaffold? I am working >> on a design that would need to make use of dynamic tables/ datasets. I >> think this might be possible by using >> https://github.com/devmynd/hstore_accessor which would then convert the >> fields into what looks like active record methods. Not sure about any of >> this at the moment so I am putting feelers out there to see if anyone has >> done anything with dynamic tables in active scaffold. >> >> This would be super cool too (which might be something possible via >> monkey patch). https://github.com/evanlok/belongs_to_hstore >> >> Imagine the possibilties! >> >> Thoughts? >> >> Thanks in advance, >> Mark >> > -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
