<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/network_methods.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -42,7 +42,7 @@ class NewsItem &lt; ActiveRecord::Base
   include HasTopics
   include AASMWithFixes
   include Sanitizy
-  include NetworkValidation
+  include NetworkMethods
 
   cleanse_columns(:delivery_description, :extended_description, :short_description, :external_links) do |sanitizer|
     sanitizer.allowed_tags.delete('div')
@@ -56,7 +56,6 @@ class NewsItem &lt; ActiveRecord::Base
   acts_as_paranoid
   aasm_column :status
   belongs_to :user
-  belongs_to :network
   belongs_to :category
   belongs_to :fact_checker, :class_name =&gt; 'User'
   has_many :comments, :as =&gt; :commentable, :dependent =&gt; :destroy
@@ -70,7 +69,7 @@ class NewsItem &lt; ActiveRecord::Base
                              &quot;:basename_:style.:extension&quot;,
                     :default_url =&gt; &quot;/images/featured_images/missing_:style.png&quot;
 
-  validates_presence_of :headline, :user_id, :network_id
+  validates_presence_of :headline, :user_id
 
   if Rails.env.production?
     validates_attachment_content_type :featured_image,
@@ -125,12 +124,6 @@ class NewsItem &lt; ActiveRecord::Base
     is_a?(Pitch)
   end
 
-  def network_and_category
-    return &quot;No network selected&quot; unless network
-    output = network.display_name
-    output += &quot;- #{category.name}&quot; if category
-    output
-  end
 end
 
 </diff>
      <filename>app/models/news_item.rb</filename>
    </modified>
    <modified>
      <diff>@@ -44,7 +44,7 @@ class User &lt; ActiveRecord::Base
   acts_as_paranoid
   include HasTopics
   include AASMWithFixes
-  include NetworkValidation
+  include NetworkMethods
 
   TYPES = [&quot;Citizen&quot;, &quot;Reporter&quot;, &quot;Organization&quot;, &quot;Admin&quot;]
   CREATABLE_TYPES = TYPES - [&quot;Admin&quot;]
@@ -66,7 +66,6 @@ class User &lt; ActiveRecord::Base
       }
   end
 
-  belongs_to :network
   belongs_to :category
 
   has_many :donations do
@@ -318,13 +317,6 @@ class User &lt; ActiveRecord::Base
     pledges.exists?(:tip_id =&gt; tip.id )
   end
 
-  def network_and_category
-    return &quot;No network selected&quot; unless network
-    output =  network.display_name
-    output += &quot;- #{category.name}&quot; if category
-    output
-  end
-
   protected
 
   def encrypt_password</diff>
      <filename>app/models/user.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/network_validation.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>d5bf6dcf77e3bf32ac05286a7d71c91cdcc15e34</id>
    </parent>
  </parents>
  <author>
    <name>Veez (Matt Remsik)</name>
    <email>mremsik@gmail.com</email>
  </author>
  <url>http://github.com/spot-us/spot-us/commit/fecdcdf38e18d8156726b25db054c7187f480ffd</url>
  <id>fecdcdf38e18d8156726b25db054c7187f480ffd</id>
  <committed-date>2009-03-09T09:39:38-07:00</committed-date>
  <authored-date>2009-03-09T09:39:38-07:00</authored-date>
  <message>Refactor: network code in lib: network_methods</message>
  <tree>b042b05c110dad68a726ee97c29d247d26128aba</tree>
  <committer>
    <name>Veez (Matt Remsik)</name>
    <email>mremsik@gmail.com</email>
  </committer>
</commit>
