Rails 3: migration error when using json as a column type in an ActiveRecord backed by Postgres

前端 未结 3 1945
别跟我提以往
别跟我提以往 2020-12-28 15:39

I am running Rails 3.2.17 and Postgres 9.3.4. I created a new ActiveRecord model using \"rails generate\" and one of the column types is json. My intention is to use the jso

3条回答
  •  有刺的猬
    2020-12-28 16:19

    We have a legacy application that uses activerecord-postgres-json to add json and jsonb type support to ActiveRecord in Rails 3.2; it may be an option if you're stuck at a low Rails version.

提交回复
热议问题