I thought that I would first try out activeresource manually and discover how things are done. I have a valid RSS feed from the Bank of Canada that I wish to pull from. I have defined my class as:
class ForexCASource < ActiveResource::Base self.site = 'http://www.bankofcanada.ca/rss/fx/noon/fx-noon-all.xml' end Inside the console I try to do this: >> forex = ForexCASource.find or >> forex = ForexCASource.find(:all) and I receive a 404 error in both cases. I can reach the site url given in the resource class from a Firefox instance running on the same host using cut and paste so the url in the site assignment is valid. What am I missing? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---