rails4
Rails and Webmotors
Anyone with any experience with Rails integration with the Webmotors APi?
I am using the gem SAVON to integrate the applicat ... PFault: (soap: Server) Server was unable to process request.
--- >Object reference not set to an instance of an object.
List random objects
How could I generate random cars in the following model?
would it be better to do this in the controller?
class Pessoa < ActiveRecord::Base
has_many :carros
end
Enable CORS in rails api
This using this GEM to enable the CORS of my application.
The code I have in my config/application.rb is as follows:
conf ... estart the server was not to be released the corsfor the get but it continues to work as if it were there. Why could it be?