multiple store in rails | Ram Laxman Yadav

multiple store in rails

Is it possible to have multiple store attributes in a single model

Yes. We can have multiple store attributes in a single table. Here is an example: Create a model: Run rails g model user Change migration as follow: class CreateUsers < ActiveRecord::Migration[5.