remove newrelic
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -29,7 +29,7 @@ gem 'rmagick', :require => "RMagick"
|
|||||||
gem 'daemons'
|
gem 'daemons'
|
||||||
gem 'net-ssh'
|
gem 'net-ssh'
|
||||||
gem 'net-sftp'
|
gem 'net-sftp'
|
||||||
gem 'newrelic_rpm'
|
# gem 'newrelic_rpm'
|
||||||
|
|
||||||
group :development do
|
group :development do
|
||||||
gem 'pry'
|
gem 'pry'
|
||||||
|
|||||||
@@ -94,7 +94,6 @@ GEM
|
|||||||
net-sftp (2.0.5)
|
net-sftp (2.0.5)
|
||||||
net-ssh (>= 2.0.9)
|
net-ssh (>= 2.0.9)
|
||||||
net-ssh (2.6.3)
|
net-ssh (2.6.3)
|
||||||
newrelic_rpm (3.5.5.38)
|
|
||||||
nokogiri (1.5.6)
|
nokogiri (1.5.6)
|
||||||
ntlm-http (0.1.1)
|
ntlm-http (0.1.1)
|
||||||
pg (0.12.2)
|
pg (0.12.2)
|
||||||
@@ -193,7 +192,6 @@ DEPENDENCIES
|
|||||||
mocha
|
mocha
|
||||||
net-sftp
|
net-sftp
|
||||||
net-ssh
|
net-ssh
|
||||||
newrelic_rpm
|
|
||||||
nokogiri
|
nokogiri
|
||||||
pg (= 0.12.2)
|
pg (= 0.12.2)
|
||||||
pry
|
pry
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class CommentsController < ApplicationController
|
|||||||
private
|
private
|
||||||
def index_for_post
|
def index_for_post
|
||||||
@post = Post.find(params[:post_id])
|
@post = Post.find(params[:post_id])
|
||||||
@comments = @post.comments.includes(:creator)
|
@comments = @post.comments
|
||||||
@comments = @comments.visible(CurrentUser.user) unless params[:include_below_threshold]
|
@comments = @comments.visible(CurrentUser.user) unless params[:include_below_threshold]
|
||||||
render :action => "index_for_post"
|
render :action => "index_for_post"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -53,7 +53,7 @@
|
|||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<section id="comments">
|
<section id="comments">
|
||||||
<%= render "comments/partials/index/list", :comments => @post.comments.includes(:creator), :post => @post, :show_header => false %>
|
<%= render "comments/partials/index/list", :comments => @post.comments, :post => @post, :show_header => false %>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="notes" style="display: none;">
|
<section id="notes" style="display: none;">
|
||||||
|
|||||||
Reference in New Issue
Block a user