We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bffcab commit 6ac726eCopy full SHA for 6ac726e
spec/app/app/models/post.rb
@@ -1,5 +1,5 @@
1
class Post < ApplicationRecord
2
belongs_to :user
3
4
- enum category: { news: 1, article: 2, blog: 3 }
+ enum category: {news: 1, article: 2, blog: 3}
5
end
0 commit comments