serel icon indicating copy to clipboard operation
serel copied to clipboard

Finding a tag 'logarithm' returns the tag record for 'algorithm'

Open marcamillion opened this issue 11 years ago • 1 comments

For some reason, it is confusing the tags - and I can't figure out why.

> Serel::Tag.find_by_name('logarithm')
[INFO][2013-03-23 21:23:26] Making request to /2.0/tags/logarithm/info?site=stackoverflow&key=25klj23lk4j2lk43jh2lkj43%28
 => #<Serel::Tag:70278786907920 @name=algorithm, @count=28198, @is_required=false, @is_moderator_only=false, @has_synonyms=true > 

> tagname = "logarithm"
 => "logarithm" 
1.9.3p392 :013 > Serel::Tag.find_by_name(tagname)
[INFO][2013-03-23 21:23:07] Making request to /2.0/tags/logarithm/info?site=stackoverflow&key=ljhdoa7y87ays9d87ahdiahsdkajd%28
 => #<Serel::Tag:70278765419020 @name=algorithm, @count=28198, @is_required=false, @is_moderator_only=false, @has_synonyms=true > 

marcamillion avatar Mar 24 '13 02:03 marcamillion

Hi Marc, I can't reproduce this. (I thought I had commented on this when you first reported this, must have forgotten to)

>> Serel::Tag.find_by_name('logarithm')
[INFO][2013-07-07 22:24:43] Making request to /2.0/tags/logarithm/info?site=stackoverflow&key=0p65aJUHxHo0G19%2AYF272A%28%28
=> #<Serel::Tag:70171273057060 @name=logarithm, @count=200, @is_required=false, @is_moderator_only=false, @has_synonyms=false >
>> tagname = 'logarithm'
=> "logarithm"
>> Serel::Tag.find_by_name(tagname)
[INFO][2013-07-07 22:25:44] Making request to /2.0/tags/logarithm/info?site=stackoverflow&key=0p65aJUHxHo0G19%2AYF272A%28%28
=> #<Serel::Tag:70171272989580 @name=logarithm, @count=200, @is_required=false, @is_moderator_only=false, @has_synonyms=false >

thomas-mcdonald avatar Jul 07 '13 21:07 thomas-mcdonald