ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Multiple query related models defined in one file (Bug #653)


Added by Gregor Schmidt at 2011-10-12 09:43 am. Updated at 2011-10-15 12:05 am.


Status:Closed Start date:2011-10-12
Priority:Normal Due date:
Assignee:Eric Davis % Done:

0%

Category:Refactoring
Target version:3.0.0
Remote issue URL: Affected version:2.3.0

Description

When multiple classes are defined within one file, this tends to mess up Rails autoloading in development - especially when plugins try to redefine/patch these models.

The (to be) attached pull request simply moves the models into separate, properly named files.

I propose to keep this change for Chili 3.0 since it might change the autoloading some plugins could rely on. It should therefore be safer to wait for a major release.


Associated revisions

Revision 53a04b0a
Added by Jean-Philippe Lang at 2008-02-16 07:09 pm

Fixed: CVS repository doesn't work if port is used in the url (#653).
Added functional tests for CVS adapter.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1156 e93f8b46-1217-0410-a6f0-8f06a7374b81

History

Updated by Gregor Schmidt at 2011-10-14 06:36 am

  • Assignee deleted (Gregor Schmidt)
  • Status changed from Open to Ready for review

Updated by Eric Davis at 2011-10-15 12:05 am

Ran the tests and merged into unstable. Thanks for fixing that, it was bugging me too.

  • Assignee set to Eric Davis
  • Status changed from Ready for review to Closed

Also available in: Atom PDF