[BUGFIX] missing argument for path generator
upgrading to Rails 4: using code eager_load for tests