sthapit

Joined

510 Experience
5 Lessons Completed
0 Questions Solved

Activity

I followed this episode and I tried doing this

  typed_store :meta, coder: ActiveRecord::TypedStore::IdentityCoder do |s|
    s.string :requested_topics
    s.text :instructions
  end

s.string works but s.text gives me the error key not found: :text even though its listed here

[:string, :text, :integer, :float, :time, :datetime, :date, :boolean, :decimal, :any].each do |type|

does anyone know how to use a text field with typed_store?