I am new to this GEM, so please excuse the NEWBIE questions.
I am using the 0.4.1 version. I cannot seem to get a proper ID assigned to any APN::Device I create. I've whittled the problem down to the following steps in the console.
I don't understand what I did that would cause the device to have no ID and fail on the save.
Loading development environment (Rails 2.3.5)
console> require 'apn_on_rails'
console> app = APN::App.create(:apn_dev_cert => "DEV", :apn_prod_cert => "PROD")
console> device = APN::Device.create(:token => 'aaaa', :app_id => app.id)
Nevermind. I figured it out. The 'token' must be 8 blocks of 8 alphanumeric digits ALL IN LOWER CASE.
I missed the last part and was trying to use Xs instead of 'x's.