search for: bushymark

Displaying 2 results from an estimated 2 matches for "bushymark".

2008 Dec 09
7
subclassing vs mixins, which one should be used?
Hey all, I have two models in my rails project that share a lot of traits. They each have the same 4 properties, and now I need to add 2-3 methods to each one that will be the same. In the spirit of DRY I am looking for a solution to write these methods only once. Both of these models already inherit from ActiveRecord . . . and I didn''t know if it was safe to just "whip up" a
2008 Dec 08
3
Database calls in my views?
I am working on re-factoring my admittedly ambitious employee management Rails app that I created for work. The good news is, my first major version went over like a dream(With no small amount of thanks due to the community and the support)! All of the functionality the bosses dreamed of! The bad news? It''s REALLY SLOW. So I rolled up my sleeves and have been working on some re-writes