# File lib/rails/generators/active_record/model/model_generator.rb, line 33 def accessible_attributes attributes.reject(&:reference?) end