I'm using the tweetstream gem and the tweets I'm tracking show up on the console but not on the page when I load it. Here's the action in my controller:
def stream
TweetStream::Client.new.track('javascript') do |status|
puts "#{status.text}"
end
end
And here's the view:
<% TweetStream::Client.new.track('javascript') do |status| %>
<%= puts "[#{status.user.screen_name}] #[{status.text}]" %>
<% end %>
This is my first Rails app so I'm pretty new at this. Anyone know why it's printing to the console but not showing up in the view?