views:

8

answers:

0

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')