update calls to use current method names.
Make it so you can change sidebar settings without reloading page. HOwever, icon for star is still broken.
Fix so that we don't have a complete action when changing the star icon, so the correct star displays.
check if the asset params are set

otherwise creating the asset page will fail
improve update_tag_cache query

this was making the initial load of the pages feed slow - even for new users.
add an index to pages on data

This speeds up saving a wiki from 10sec to 3sec. - Still slow bug considerably better.
Merge pull request #108 from Crabgrass/bugfix/6655_sidebar_updates

Bugfix/6655 sidebar updates
do not convert param into symbol

Prevent a DOS attac:
http://brakemanscanner.org/docs/warning_types/denial_of_service/

Also the gate_set is a HashWithIndifferentAccess. So no need to convert anyway.
ensure signup_email_address stays in user_params

Also factored out the user_params method.
rescue errors in picture resize for banner
return ThinkingSphinx::Search in search (#4357)

page_terms.replace(pages) will replace the page_terms with pages just fine.
But it returns the pages Array instead of page_terms. So we explicitly need
to return page_terms
fix crash when displaying notice title without count

Notice titles might be request names with singular and plural form.
So we should supply a count just in case.
Merge pull request #109 from azul/bugfix/index-pages-on-data

add an index to pages on data
Merge pull request #110 from azul/bugfix/4376-slow-me-pages

improve update_tag_cache query
Merge pull request #111 from azul/bugfix/fix-crash-in-asset-page-creation

check if the asset params are set
Merge pull request #112 from azul/security/fix-brakeman-issues

Security/fix brakeman issues
Merge pull request #113 from azul/bugfix/4365-fix-group-home-with-broken-banner

rescue errors in picture resize for banner
Merge pull request #114 from azul/bugfix/4357-fix-pagination-with-sphinx

return ThinkingSphinx::Search in search (#4357)
Merge pull request #115 from azul/bugfix/fix-crash-displaying-notice-titles

fix crash when displaying notice title without count