# File lib/active_record/attribute_methods.rb, line 61 def define_attribute_methods return if generated_methods? columns_hash.each do |name, column| unless instance_method_already_implemented?(name) if self.serialized_attributes[name] define_read_method_for_serialized_attribute(name) else define_read_method(name.to_sym, name, column) end end unless instance_method_already_implemented?("#{name}=") define_write_method(name.to_sym) end unless instance_method_already_implemented?("#{name}?") define_question_method(name) end end end