-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blog settings error #133
Comments
Looks like the error on the @blog record is that draft_content can't be blank. It looks like we have Blog inheriting from Page, which inherits from Post, which includes the has_versions concern. We probably need to switch up the way our models are set up to fix this. |
Also, it appears this only happens for the default blog that gets created when you create a site. In the dashboard/blogs_controller there's a pretty dirty hack that just sets :draft_content to "test" on any other Blogs that get created, along with a few other attributes that really don't belong on a Blog record. I guess the easiest fix for now would be to do something similar for the default Blog. |
@dvanderbeek is this still an issue? I can't seem to reproduce... |
Hmm, looks like it's working on the dummy app now. I'll close the issue and we can re-open it if we run into it again. |
When I run the dummy server and attempt to change the title of a blog from the blog settings menu, the response is a 422 error.
The text was updated successfully, but these errors were encountered: