Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10668: remove_useless_attr_reader_from_association_proxy.diff

File remove_useless_attr_reader_from_association_proxy.diff, 0.6 kB (added by danger, 10 months ago)
  • activerecord/lib/active_record/associations/association_proxy.rb

    old new  
    11module ActiveRecord 
    22  module Associations 
    33    class AssociationProxy #:nodoc: 
    4       attr_reader :reflection 
    54      alias_method :proxy_respond_to?, :respond_to? 
    65      alias_method :proxy_extend, :extend 
    76      delegate :to_param, :to => :proxy_target