[Radiant] ActiveResource and CMS
roland
r.oth at gmx.net
Sat Apr 5 08:55:51 CDT 2008
Hi
I would like to set up an ActiveResource Model so that a data entered
in a form set
up with the mailer extension can be stored in a remote second webapp
written in rails.
I used the radiant_on_rails extension to enable rails in paralell to
radiant.
I created an active Reseource model like this:
class Reservation < ActiveResource::Base
self.site ="http://localhost:3001/"
end
Then I wanted to play around wit the active resource model in irb
res = Reservation.new
and got this Error
NameError: uninitialized constant ActiveResource
I guess radiant does not load ActiveResource? Or am i missing something.
But maybe a hint to an alternative approach to solve this would helpful.
Thanx Roland
More information about the Radiant
mailing list