With the Attribute API in Rails 4.2 is should be already quite easy to add a new type and parse/serialize JSON there. You can try it in your app.
More details: https://github.com/rails/rails/blob/master/activerecord/lib/active_record/type/internal/abstract_json.rb https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/postgresql/oid/json.rb On Thursday, September 24, 2015 at 12:07:23 AM UTC+3, [email protected] wrote: > > Hi, > > Mysql supports native json datatypes > <https://dev.mysql.com/doc/refman/5.7/en/json.html> since version 5.7.8. > > > When will rails support this new feature? > > Kind regards, > Marvin > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
