Rails: tumblr_client gem works in console, not in app

73 views
Skip to first unread message

SheerHippo

unread,
Apr 30, 2013, 8:11:55 PM4/30/13
to tumbl...@googlegroups.com
I'm new to Rails and have been writing a simple app to post to Tumblr. I got all my oauth stuff working, and decided to use the tumblr_client gem to facilitate posting. I can get it to post just fine through the console, but the same code does not do anything in the controller. It doesn't throw any errors, it just does nothing. Any suggestions? I posted this same question to StackOverflow with the code snippet.

John Crepezzi

unread,
May 1, 2013, 11:02:23 AM5/1/13
to tumbl...@googlegroups.com
Are you sure your code is being called?
Can you capture the output of the call to `@client.text`?


On Tue, Apr 30, 2013 at 8:11 PM, SheerHippo <sheer...@gmail.com> wrote:
I'm new to Rails and have been writing a simple app to post to Tumblr. I got all my oauth stuff working, and decided to use the tumblr_client gem to facilitate posting. I can get it to post just fine through the console, but the same code does not do anything in the controller. It doesn't throw any errors, it just does nothing. Any suggestions? I posted this same question to StackOverflow with the code snippet.

--
You received this message because you are subscribed to the Google Groups "Tumblr API Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tumblr-api+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages