web
web copied to clipboard
MainMenu: add counter_cache
By adding counter_cache we do not have to get to database to count the amount of columns. Will probably not be a standard counter_cache since we are counting the amount of different columns. Would remove some DB-trips at least! 😄
https://github.com/cedric/custom_counter_cache