#715 ✓resolved
Mikoangelo

[PATCH] Kernel#repository is public

Reported by Mikoangelo | December 15th, 2008 @ 10:26 AM

Kernel#repository is available to all objects, but is not defined private like the rest of the methods in Kernel.

An example of where this might be a problem:

some_model.some_assotication # => nil
some_model.some_assotication.repository # => the current repository, showing a seemingly correct value, even though there's no object there

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Attachments

Tags

Pages