I have a many-to-many relationship between Books and Tags, with an intersection table of books_tags.
I have an HTML form that lists tags as a SELECT (multiple), with a name of 'book[tags]'.
I get an error when trying to update the Book model using mass assignment:
post ':id/edit' do
# method tags= doesn't exist
@book = Book[params[:id]].update(params[:book])
Do I need to remove the :tags key from the parameter hash, then update the tags dependency separately?