Fixed the problem happned on Rails.