added seed data
This commit is contained in:
1 parent
5a77a3a681
commit
18a0ccea16
4 files changed
+6
-3
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ class Topic < ActiveRecord::Base
|
||||
|
||||
# Accessors
|
||||
attr_accessor :body
|
||||
attr_accessible :title, :body, :sticky, :locked
|
||||
attr_accessible :title, :body, :sticky, :locked, :forum_id
|
||||
|
||||
# Validations
|
||||
validates :title, :presence => true
|
||||
|
||||
Reference in new issue
Block a user