-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't make app = APN::App.create(:apn_dev_cert => "MY_DEV_CERT.pem", :apn_prod_cert => "MY_PROD_CERT.pem") #51
Comments
Try |
Yep that works. Here's my full call:
worked great! |
Yes above work great thanks. But "bundle exec rake apn:notifications:deliver --trace" give me the below error.. ** Invoke apn:notifications:deliver (first_time) Please advice! |
Also while try "APN::App.first.send_notifications" Loading development environment (Rails 3.2.8) |
Hi, I'm working with Ruby 1.9.2, Rails 3.2.3 and apn_on_rails 0.5.1 to implement push notifications in my application.
When I run:
app = APN::App.create(:apn_dev_cert => "MY_DEV_CERT.pem", :apn_prod_cert => "MY_PROD_CERT.pem")
I get the following error:
ActiveModel :: MassAssignmentSecurity :: Error: Can not mass-assign protected attributes: apn_dev_cert, apn_prod_cert
Does anyone know what does it mean? Thank you.
The text was updated successfully, but these errors were encountered: