def obtain_the_authors_articles(id = nil)
      return nil if id.blank? && (@content.blank? || !@content[0].blank?)
      check = 
        if id.blank?
        	@content.admin_id
        else
          id
        end
      Post.where(:admin_id => check)
    end
def obtain_the_authors_articles(id = nil)
      return nil if id.blank? && (@content.blank? || !@content[0].blank?)
      check = 
        if id.blank?
        	@content.admin_id
        else
          id
        end
      Post.where(:admin_id => check)
    end
returns all of the articles that the user has created
 Params:
 +id+:: ID of the user that you want to get all the records for