Displaying 1 result from an estimated 1 matches for "s4gj".
Did you mean:
4gj
2007 Oct 20
2
where to put code for my own paginator ?
I had to make my own pagination class in SQL Server. What I am
wondering is where is a good place to put the code so that every
controller and template can have access to it ?
Right now I have put it in application.rb, the controller base class.
This seems to work well, I did a project last summer where I put stuff
in the lib directory. The only problem with that is that if you change
any code at