Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Philip Dudley's Profile

GitHub User: pdud

Site: www.phildudley.com

Comments by Philip Dudley

Avatar

Hey banhbaochay,

You should use the following instead.

ActiveRecord::Fixtures.create_fixtures("#{Rails.root}/db", "categories")

Stack Overflow

  • Phil