File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -207,10 +207,7 @@ Formatting
207
207
* Include spaces around infix method invocations like ` + ` and ` - ` .
208
208
* Indent continued lines two spaces.
209
209
* Indent private methods equal to public methods.
210
- * Limit lines to a maximum of 80 characters.
211
- * Order methods and attributes alphabetically where possible.
212
210
* Use 2 space indentation (no tabs) unless otherwise noted.
213
- * Use an empty line between methods, blocks and conditionals.
214
211
* Use spaces around operators, after commas, colons and semicolons, around ` { `
215
212
and before ` } ` .
216
213
* Use Unix-style line endings (` \n ` ).
@@ -337,7 +334,6 @@ Rails
337
334
* Use ` def self.method ` over the ` named_scope :method ` DSL.
338
335
* Use ` I18n.t 'dot.separated.key' ` over
339
336
` I18n.t :key, :scope => [:dot, :separated] ` .
340
- * Use [ Haml] ( http://haml-lang.com ) for view templates.
341
337
* Use ` has_and_belongs_to_many ` if all you need is a join table. Start simple.
342
338
* Use namespaced locale lookup in views by prefixing a period: ` t '.title' ` .
343
339
* Use nested routes to express ` belongs_to ` relationships between resources.
You can’t perform that action at this time.
0 commit comments