bug fixes in seed.rb, app/views/posts/edit.html.erb and new.html.erb