first(*args)
Fetches the first one using SQL if possible.
# File activerecord/lib/active_record/associations/association_collection.rb, line 52 def first(*args) if fetch_first_or_last_using_find? args find(:first, *args) else load_target unless loaded? @target.first(*args) end end