Skip to content

Makes it harder to do the wrong thing in Rails by privatizing ActiveRecord::Base#find

Notifications You must be signed in to change notification settings

codeodor/findfail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

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

No packages published