spec/models/document.rb in bullet-4.6.0 vs spec/models/document.rb in bullet-4.7.0

- old
+ new

@@ -1,5 +1,5 @@ class Document < ActiveRecord::Base - has_many :children, :class_name => "Document", :foreign_key => 'parent_id' - belongs_to :parent, :class_name => "Document", :foreign_key => 'parent_id' + has_many :children, class_name: "Document", foreign_key: 'parent_id' + belongs_to :parent, class_name: "Document", foreign_key: 'parent_id' belongs_to :author end