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

Ticket #7171: alias_attribute_doc_fix.diff

File alias_attribute_doc_fix.diff, 491 bytes (added by tzaharia, 2 years ago)
  • activesupport/lib/active_support/core_ext/module/aliasing.rb

    old new  
    3838  #     # has a title attribute 
    3939  #   end 
    4040  # 
    41   #   class Email < ActiveRecord::Base 
     41  #   class Email < Content 
    4242  #     alias_attribute :subject, :title 
    4343  #   end 
    4444  #