Updated rails
Add comments