diff options
author | rhenium <re4k@re4k.info> | 2013-06-01 05:00:19 +0900 |
---|---|---|
committer | rhenium <re4k@re4k.info> | 2013-06-01 05:00:19 +0900 |
commit | 8caf867b0509ef5882459f3c7d0cafb1b2cba0ef (patch) | |
tree | f8facb20b617d24442fc8b0666a144b848aa3245 /app/models/tweet.rb | |
parent | 25da6aa22482ab5472e310e251e49658f3d24050 (diff) | |
download | aclog-8caf867b0509ef5882459f3c7d0cafb1b2cba0ef.tar.gz |
fix typo
Diffstat (limited to 'app/models/tweet.rb')
-rw-r--r-- | app/models/tweet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tweet.rb b/app/models/tweet.rb index 602fdaa..8a4f3ce 100644 --- a/app/models/tweet.rb +++ b/app/models/tweet.rb @@ -130,7 +130,7 @@ class Tweet < ActiveRecord::Base when /^-?(?:user|from):([A-Za-z0-9_]{1,20})$/ u = User.find_by(screen_name: $1) uid = u && u.id || 0 - tweets[:user_id].__send__(positive ? :eq :not_eq, uid) + tweets[:user_id].__send__(positive ? :eq : :not_eq, uid) when /^-?since:(\d{4}(-?)\d{2}\2\d{2})$/ tweets[:id].__send__(positive ? :gteq : :lt, snowflake(Date.parse($1))) when /^-?until:(\d{4}(-?)\d{2}\2\d{2})$/ |