So I am trying to pass a primary key (id) value to my create method and it doesn't work.
Is there a way to do this in rails?
Category.create!(:id => 2828, :name => 'Some Category')
So I am trying to pass a primary key (id) value to my create method and it doesn't work.
Is there a way to do this in rails?
Category.create!(:id => 2828, :name => 'Some Category')