Clarified the code structure for Rails.