Fix #4208 #4210

Merged
merged 1 commit into from Dec 28, 2011

2 participants

@tapajos

No description provided.

@josevalim josevalim merged commit d547761 into rails:3-2-stable Dec 28, 2011
@spastorino spastorino commented on the diff Dec 28, 2011
activerecord/lib/active_record/relation/query_methods.rb
#
# >> Model.select(:field).first.other_field
- # => nil
+ # => ActiveModel::MissingAttributeError: missing attribute: other_field
+
@spastorino
Ruby on Rails member

Why this empty line?

@tapajos
tapajos added a note Dec 28, 2011

My mistake. Fixed: #4217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment