Andrew Kelley
Joined
590 Experience
5 Lessons Completed
0 Questions Solved
Activity
<%= render comment_with_replies, current_user: current_user %>
if current_user.present?
Did you pass the current_user to the partial?
<%= render comment, current_user: current_user %>
For anyone else that is hitting this issue, you'll want to edit config/environment/development.rb to include:
config.action_controller.default_url_options = { host: "localhost", port: ENV.fetch("PORT", 3000).to_i }
Posted in Video Hosting
What does GoRails use to host its private videos?
How would I cache content different for non-logged in users, logged in users, and the post owner? For example, Facebook "friends" can see your private posts.