ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
# 序幕 > 榜样很重要。 <br/> > -- 《机械战警》 Alex J. Murphy 警官 这份指南旨在提供一系列 Ruby on Rails 4 开发的最佳实践和风格惯例。本指南与社区驱动并制定的 [Ruby 编码风格指南](https://github.com/bbatsov/ruby-style-guide)可以互为补充。 本文中的一些建议只适用于 Rails 4.0+ 版本。 你可以使用 [Transmuter](https://github.com/TechnoGate/transmuter) 来生成本文的 PDF 或 HTML 版本。 本指南同时有以下语言的翻译版: * [英文原版](https://github.com/JuanitoFatas/rails-style-guide/blob/master/README.md) * [繁體中文](https://github.com/JuanitoFatas/rails-style-guide/blob/master/README-zhTW.md) * [日语](https://github.com/satour/rails-style-guide/blob/master/README-jaJA.md) * [俄语](https://github.com/arbox/rails-style-guide/blob/master/README-ruRU.md) * [土耳其语](https://github.com/tolgaavci/rails-style-guide/blob/master/README-trTR.md)