[Radiant] ActiveResource and CMS

roland oth r.oth at gmx.net
Sat Apr 5 10:23:52 CDT 2008


Sean,

Okay thanks, I will try it later then.

Roland

Am 05.04.2008 um 16:54 schrieb Sean Cribbs:
> Roland,
>
> I am probably going to release one today.
>
> Sean
>
> roland oth wrote:
>> Hello Sean,
>>
>> Ok, I just installed as per Instructions at
>> http://radiantcms.org/blog/archives/2008/02/26/radiant-0-6-5-release-candidate-1/
>> and got this error when starting the server , or when trying to run
>>
>> /Library/Ruby/Gems/1.8/gems/radiant-0.6.5/vendor/rails/actionmailer/ 
>> lib/action_mailer/base.rb:354:in `method_missing': undefined method  
>> `view_paths=' for ActionMailer::Base:Class (NoMethodError)
>>
>> Is there a newer Release candidate GEM around?
>>
>> Or do I need to go on radiant edge? I tried the instructions at http://radiantcms.org/download/
>> % rake radiant:freeze:edge
>> % rake radiant:update
>> % rake db:migrate
>> But the rake task could not be found
>>
>> I am on radiant 0.6.4
>>
>> Thanx Roland
>>
>> Am 05.04.2008 um 16:14 schrieb Sean Cribbs:
>>> 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


More information about the Radiant mailing list