Make sidebar generator Rails 3 compliant.

... maybe this was the reason no-one made generators ...

:dolphin:  :dolphin: :dolphin: