4 ms·
Care to expand how? Curious as a Rails developer myself.
by zen_boy 13y ago
Care to expand how? Curious as a Rails developer myself.
- netghost 13y agoIf you just want some background, I actually gave a talk about hstore, arrays, and FTS in postgres for rails devs a few months ago. Links to the talk, slides, sample code, and some follow up articles: http://monkeyandcrow.com/blog/postgres_railsconf2013/ http://monkeyandcrow.com/blog/postgres_railsconf2013/
- dalyons 13y agoI was in the audience! It was a great session - you're a funny guy, explained the concepts well, and there was some really interesting real(or alternate :p) world use-cases for all this stuff.
- zen_boy 13y agoGreat stuff! Seems like the store_accessor works with the :json column type out of the box as well. Throw in a JSON schema validator and we have full-blown validations for :hstore and :json!