Fix strange ActiveRecord loading error?