clear the rails3 warning
1. active_record.
2. active_view: <%= form_for %>
3. RAILS_ROOT
4. remove plugin
use correct where
add pg into Gemfile for heroku
bundle exec rake assets:precompile
add precombiled files on publis/asset
use correct where at show method
add jundge to next/previous page
make authentication work
correct gadget controller edit