class RpxController < ApplicationController
skip_before_filter :verify_authenticity_token, :only => [:index]
def index
if data = RPXNow.user_data(params[:token])
data = {:name => data[:username], :email =>
data[:email], :identifier => data[:identifier]}
end
logger.debug("-----WHATS IN THE DATA? Yeah raw is enabled.
#{data}")
......
end
Changes I've made / things to take note of
1) I added my API key to my environment file, as it looks like it's
taken automatically now (not passed through the method any longer).
2) Just to be sure, I uninstalled the 0.3.1 gem
3) Doing everything in a development machine. I added my IP to the
white list.
What am I doing wrong?
Thanks