Close and Go BackBack to Viget

Careers

These are exciting times at Viget Labs. We are consistently ranked one of the top web firms in the DC area – and we've just opened a new office in Durham, NC to expand our reach and tap new talent. We work daily with some of the most interesting clients around. But, we're not satisfied. We're an ambitious bunch, and we have lofty goals for our clients and our company – goals we'll reach through the hard work and passion of every person on the team.

We're looking for ambitious individuals who want to be part of something fun, challenging, exciting, interesting, and rewarding. People who take pride in their work every day, know how to give extra effort when needed, and want a real opportunity to shine. We're looking for the best of the best.

Do you think you have what it takes? Send your resume to jobs.va@viget.com if you are interested in working in our Falls Church, VA office or jobs.nc@viget.com if you are interested in working out of our Durham, NC office.

Not ready to apply just yet? Want to learn more? Keep up with our blog, or just drop us an email and introduce yourself. We're always interested in getting to know other people in the web community.

A Development Community for Viget Labs and Beyond

Every team member here at Viget Labs strives to be an innovator. We members of the development team are no different - that's why we're constantly engaging in community discussions and exploring the unknown that is the next generation of open-source web applications.

Viget Is Hiring!

Viget has job openings for Ruby Developers, Interns, and Front-End Developers. Learn More »

Recent Comments

In my quick testing of this it does still work if you chain items after the cache name:

Category.top_level.other_scope

But important to note is this will still make a call to the database, it will not take advantage of the cache. Of course the actual scope, in this case find_top_level is unchanged and so you can still do any chaining with that, which also of course won’t use the cache.

As a final note though if you’re needing to do much chaining, caching in this way may not be best for your particular situation. The idea of the cache is if you need to retrieve the exact same result set over and over again, and it rarely changes you shouldn’t have to hit the database.