Add <strong parameters> to posts.rb 

allows creating/updating posts in admin