Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
flyerhzm committed Feb 13, 2012
1 parent 415168d commit eb37888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -140,6 +140,7 @@ Now you can customize this configuration file, the default configuration is as f
RemoveUnusedMethodsInModelsCheck: { except_methods: [] }
RemoveUnusedMethodsInControllersCheck: { except_methods: [] }
RemoveUnusedMethodsInHelpersCheck: { except_methods: [] }
NotUseTimeAgoInWordsCheck: {}

You can remove or comment one review to disable it, and you can change the options.

Expand Down Expand Up @@ -198,6 +199,7 @@ View
3. Move code into helper
4. Replace instance variable with local variable
5. Simplify render in views
6. Not use time_ago_in_words

Deployment

Expand Down
1 change: 1 addition & 0 deletions rails_best_practices.yml
Expand Up @@ -30,3 +30,4 @@ RestrictAutoGeneratedRoutesCheck: { }
RemoveUnusedMethodsInModelsCheck: { except_methods: [] }
RemoveUnusedMethodsInControllersCheck: { except_methods: [] }
RemoveUnusedMethodsInHelpersCheck: { except_methods: [] }
NotUseTimeAgoInWordsCheck: { }

0 comments on commit eb37888

Please sign in to comment.