Created
October 25, 2012 14:50
-
-
Save tanatana/3953027 to your computer and use it in GitHub Desktop.
なんか普通な気がしてきた
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tl.each do |status| | |
urls = status.entities.urls | |
if !urls.empty? | |
mongo_status = Status.new(status) | |
mongo_status.save | |
end | |
end | |
statuses = Status.all() | |
statuses.each do |status| | |
status.text | |
=> "とれる" | |
status.user.screen_name | |
=> nil | |
status.user["screen_name"] | |
=> "とれる" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment