I'm still getting this error and I'm really not sure why. I've done all of your standard setup, but when I do save or save! it still causes:
Can not modify more than one base table through a join view
I'm on the latest rails, cities, mysql2
And I'll add that in postgres it complains as well:
ERROR: cannot update a view HINT: You need an unconditional ON UPDATE DO INSTEAD rule. : UPDATE "view_writing_assignments" SET "id" = 12, "heading" = 'This is a new writing assignment', "type" = 'WritingAssignment', "prompt" = 'Will it work? please please please?' WHERE "view_writing_assignments"."type" IN ('WritingAssignment') AND "view_writing_assignments"."id" = 12
I discovered the issue. I'm trying to use friendly_id and it's not happy with it. I'm going to have to strip it out until I find a solution around that. Oh well. Sorry to trouble you.
I'm still getting this error and I'm really not sure why. I've done all of your standard setup, but when I do save or save! it still causes:
I'm on the latest rails, cities, mysql2
And I'll add that in postgres it complains as well: