-
Notifications
You must be signed in to change notification settings - Fork 0
codeodor/findfail
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Just add the repository files under your Rails app's vendor/plugins directory under a new one called "findfail" and you're ready to go. Findfail results in less business logic in your views and controllers because it forces you to open a model and add a method. Since you're already in the right place, you may as well stay there. It preys on your laziness that way.
About
Makes it harder to do the wrong thing in Rails by privatizing ActiveRecord::Base#find
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published