[Radiant] ActiveResource and CMS
Sean Cribbs
seancribbs at gmail.com
Sat Apr 5 09:14:46 CDT 2008
Roland,
Radiant 0.6.4 is on Rails 1.2.6, and thus does not have ActiveResource
available. This should not be a problem with 0.6.5, when released, or
with the release candidate gem.
Sean
roland wrote:
> 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
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list