Testes para WikiController
This commit is contained in:
@@ -20,6 +20,7 @@ class Message < ActiveRecord::Base
|
||||
acts_as_paranoid
|
||||
acts_as_versioned :if_changed => [ :title, :body ]
|
||||
self.non_versioned_columns << 'deleted_at'
|
||||
acts_as_paranoid_versioned
|
||||
|
||||
# Associacoes
|
||||
belongs_to :user,
|
||||
|
||||
Reference in New Issue
Block a user