Reputation: 5410
I am new to Ruby on Rails and I am trying to use some gems that require to apply some changes in the initial configuration.
In this particular gem it says I have to change the configuration parameters. Where do I find this in ruby 1.9 and rails 3
Thanks
Upvotes: 0
Views: 616
Reputation: 22731
You can put that code anywhere -- if it's setting up and configuring objects that will be used throughout your app and you want it run when the app starts, you can put it in an initializer. config/initializers/APNS.rb
Upvotes: 2