qstream/meta_pairs — pull request #3 by eamonn-webster (2012-12-19 10:46:45+00:00)
Title: Don't query database if association loaded

If we have already loaded all the meta_pairs (e.g. using includes) then get_value can search the cached list rather than querying the database. Handy when displaying multiple (all) meta_pairs for each object in a table.