Inconsistency between Rate Limits when calling from a Rails Controller vs. the Rails Console


Why would I get a TooManyRequests error when I make a call for the mentions timeline from my Rails Controller but not from the Rails Console?

App code:
Twitter.mentions(count: 200, since_id: maximum(:tweet_id))
Rails console code:
Twitter.mentions(count: 200)

Why aren’t the rate limits the same?

(I’m using version 4.7.0 of the Twitter gem.)