Created
March 6, 2012 09:18
-
-
Save timurvafin/1985223 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bundle install --bunstubs --path vendor/bundle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| group :development do | |
| gem 'rails_best_practices' | |
| gem 'brakeman' | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install libyaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| bin/brakeman --quiet | |
| bin/rails_best_practices --silent --spec --features |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MoveFinderToNamedScopeCheck: { } | |
| UseModelAssociationCheck: { } | |
| UseScopeAccessCheck: { } | |
| AddModelVirtualAttributeCheck: { } | |
| ReplaceComplexCreationWithFactoryMethodCheck: { attribute_assignment_count: 2 } | |
| MoveModelLogicIntoModelCheck: { use_count: 4 } | |
| OveruseRouteCustomizationsCheck: { customize_count: 3 } | |
| NeedlessDeepNestingCheck: { nested_count: 2 } | |
| NotUseDefaultRouteCheck: { } | |
| KeepFindersOnTheirOwnModelCheck: { } | |
| LawOfDemeterCheck: { } | |
| UseObserverCheck: { } | |
| IsolateSeedDataCheck: { } | |
| AlwaysAddDbIndexCheck: { } | |
| UseBeforeFilterCheck: { customize_count: 2 } | |
| MoveCodeIntoControllerCheck: { } | |
| MoveCodeIntoModelCheck: { use_count: 2 } | |
| MoveCodeIntoHelperCheck: { array_count: 3 } | |
| ReplaceInstanceVariableWithLocalVariableCheck: { } | |
| DryBundlerInCapistranoCheck: { } | |
| UseSayWithTimeInMigrationsCheck: { } | |
| UseQueryAttributeCheck: { } | |
| RemoveTrailingWhitespaceCheck: { } | |
| UseMultipartAlternativeAsContentTypeOfEmailCheck: { } | |
| SimplifyRenderInViewsCheck: { } | |
| SimplifyRenderInControllersCheck: { } | |
| RemoveEmptyHelpersCheck: { } | |
| RemoveTabCheck: { } | |
| RestrictAutoGeneratedRoutesCheck: { } | |
| # RemoveUnusedMethodsInModelsCheck: { except_methods: [] } | |
| RemoveUnusedMethodsInControllersCheck: { except_methods: [] } | |
| # RemoveUnusedMethodsInHelpersCheck: { except_methods: [] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment