RailsCasts Pro episodes are now free!

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