RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: SimonToivoTelhaug
Hey $ ruby -v ruby 2.0.0p481 $ rails -v Rails 4.1.5
I got some problem with
params.require(:article).permit(:name, :content, :published_on, :tags, :properties)
When I tryed to do a update, It leaved :tags out. It is becaus it expect a sting, not a array
This is the fix
params.require(:article).permit(:name, :content, :published_on, :properties, tags: [])
Hey
$ ruby -v
ruby 2.0.0p481
$ rails -v
Rails 4.1.5
I got some problem with
When I tryed to do a update, It leaved :tags out. It is becaus it expect a sting, not a array
This is the fix