wereHamster
Not a member
wereHamster's latest activity
Saturday, November 13 2010
5966
Association proxy does not forward missing methods to the actual instance
was updated
in Ruby on Rails
-
wereHamster commented at 1:25 PMBah, lighthouse won't let me attach the patch.. see here instead: https://github.com/wereHamster/rails/compare/master...lighthouse/59...
-
wereHamster commented at 1:20 PMJust when I posted the ticket I figured out how the association proxies work. How does this patch look?
-
wereHamster created the ticket at 1:00 PMGiven a simple association:
class City < ActiveRecord::Base belongs_to :country end class Country < ActiveRecord::Base def method_missing(method, *args) ...