RailsCasts Pro episodes are now free!

Learn more or hide this

hejelin's Profile

GitHub User: hejelin

Comments by

Avatar

Maybe not relevant now, but I had the same problem and found the solution in my PostsController under update. I just needed to add :tag_list to the permitted parameters like so:

ruby
class PostsController < ApplicationController

def update
...
  if @post.update(params[:post].permit(:title, :text, :tag_list))
...

Hope it may help someone else in the future.