add rails to forms
rails fix to application file