Use pure sql to migrate poll and vote types
fixing rate_many_page to be html_safe
Merge remote-tracking branch 'crabgrass/develop' into develop
use present? instead of any? to avoid nil.any?
don't escape PageNotice#body twice (CGI::escape_html doesn't mark the string as html_safe? afterwards)
don't escape Profile#summary_html
use plain sql as much as possible
add cleanup task to remove data that has become invalid

So far this covers participations with non existing group or user references
as well as federatings.
validate the presence of the records in associations
make both the "requesting" and "approving" users of a RequestToCreateCouncil member of that newly created council, when the request is approved.
allow participations without a page

looks like they temporarily exist during the page creation process
move asset search test into asset test

Also call test in asset_page_test.rb AssetPageTest
use inverse of so build can assign parent

For user participations and group participations we validate the presence of page.
This only works as long as the page is set during the build. This works nicely when
we specify inverse_of.
Merge pull request #67 from Crabgrass/feature/4312-council-creation-process

council creation process
Merge pull request #54 from Crabgrass/feature/pure-sql-migration-20091123062515

Feature/pure sql migration 20091123062515
no need to escape PageNotice#display_body twice
Merge pull request #64 from Crabgrass/bugfix/4317-ranked-vote-broken

use present? instead of any? to avoid nil.any?
validation should also pass with new records now

We use inverse_of so the parent association on user_participations is set
even before saving it the first time
Merge pull request #66 from Crabgrass/bugfix/various-escaping-errors

various escaping errors
Merge pull request #65 from Crabgrass/bugfix/4294-fix-migration-20100603010101

Bugfix/4294 fix migration 20100603010101