Skip to content

Instantly share code, notes, and snippets.

@marcusshepp marcusshepp/puts.rb
Created Aug 23, 2017

Embed
What would you like to do?
puts not working in rails project
# puts string was not working, these are a few work arounds
def puts(s)
Rails.logger.info(s)
end
File.open("debug.txt", ""){|f|f.write('foo')}
raise "foo"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.