We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 440e7f0 commit 96a8da2Copy full SHA for 96a8da2
spec/dummy/app/models/post.rb
@@ -24,6 +24,8 @@ class Post < ActiveRecord::Base
24
25
before_create :set_id
26
27
+ attr_accessor :title, :views
28
+
29
private
30
31
def set_id
0 commit comments