Not to return nil object for Rails 3.2.