many things, comments working.

This commit is contained in:
jomo
2013-06-24 13:29:39 +02:00
parent 7a894f4f6a
commit fb52e8bed2
44 changed files with 490 additions and 223 deletions
+1
View File
@@ -3,4 +3,5 @@ class Blogpost < ActiveRecord::Base
validates_presence_of :title, :text, :user
belongs_to :user
has_many :comments
accepts_nested_attributes_for :comments
end