#28 new
James Mead

Possible issue with public_instance_methods and AR attributes...?

Reported by James Mead | 2009-01-04 17:13:51 UTC

Quote from Nathan Zook:-

If klass < ActiveRecord::Base, klass.public_instance_methods should include the attribute setters even before any instance of klass has been defined. If I put klass.new.methods in my code, I have an incantation (which updates klass.public_instance_methods). Since you pushed out a fix in this area, I was hoping that you would be interested in this problem as well.

See http://groups.google.com/group/r...

No comments found

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 ยป

A mocking & stubbing library for Ruby.

* GitHub repository
* Documentation
* Mailing List

People watching this ticket

Tags

Pages