Hi Bob,

Thanks for the report. This is a curious and intermittent problem that has a 
github issue in the clipped extension. I think it's fixed now that we're 
offloading nearly everything into gems, but that work is in progress at the 
moment so I can't quite tell yet.

I may well vendor acts_as_list anyway. It's only about 20 lines and it has 
caused 100 times that much discussion.

best,

will



On 21 Jun 2011, at 14:09, Bob Sleys wrote:

> I've installed radiant 1.0.0.rc2 into a clean RVM setup with an empty gemset 
> running ruby 1.8.7.
> 
> Installing radaint (gem install radiant --prerelease) yielded the following 
> installed gems
> 
> *** LOCAL GEMS ***
> 
> activemodel (3.0.9)
> activerecord (3.0.9)
> activesupport (3.0.9)
> acts_as_list (0.1.3)
> arel (2.0.10)
> builder (2.1.2)
> compass (0.10.6)
> delocalize (0.2.6)
> haml (3.0.25)
> i18n (0.5.0)
> paperclip (2.3.11)
> rack (1.1.2)
> radiant (1.0.0.rc2)
> rake (0.8.7)
> RedCloth (4.2.7)
> sqlite3 (1.3.3)
> tzinfo (0.3.28)
> uuidtools (2.1.2)
> will_paginate (2.3.15)
> 
> Doing a rake db:bootstrap using the stylized blog and browsing the resulting 
> site works fine.
> 
> Now on the errors.  Editing a page yields the following error.
> NoMethodError in Admin/pages#edit
> 
> Showing 
> /home/bsleys/.rvm/gems/ruby-1.8.7-p334@ooo-web/gems/radiant-1.0.0.rc2/vendor/extensions/clipped/app/views/admin/pages/_assets.html.haml
>  where line #5raised:
> 
> undefined method `acts_as_list' for #<Class:0xb6fae540>
> 
> Extracted source (around line #5):
> 
> 2: - include_javascript 'admin/assets'
> 3: 
> 4: #attachment_list.assets
> 5:   %ul#attachment_fields{:class => @page.page_attachments.empty? ? 'empty' 
> : ''}
> 6:     = render :partial => 'admin/page_attachments/attachment', :collection 
> => @page.page_attachments
> 7:   %p.note
> 8:     = link_to t('clipped_extension.assets'), '#attach_asset', :class => 
> 'popup'
> 
> Trace of template inclusion: 
> /home/bsleys/.rvm/gems/ruby-1.8.7-p334@ooo-web/gems/radiant-1.0.0.rc2/app/views/admin/pages/_fields.html.haml,
>  
> /home/bsleys/.rvm/gems/ruby-1.8.7-p334@ooo-web/gems/radiant-1.0.0.rc2/app/views/admin/pages/edit.html.haml
> 
> 
> Uploading an image via the assets page gave the following error
> NameError in Admin/assetsController#create
> 
> uninitialized constant Asset::UUIDTools
> RAILS_ROOT: /home/bsleys/projects/ooo-web
> 
> Application Trace | Framework Trace | Full Trace
> Request
> 
> Parameters:
> 
> {"commit"=>"Create Asset",
>  "format"=>"html",
>  "authenticity_token"=>"QbD6zpC1EN7q988vhTag/18ZAAPK0CcauHnoEUD1Rfk=",
>  "asset"=>{"title"=>"logo",
>  "caption"=>"",
>  "asset"=>#<File:/tmp/RackMultipart20110621-2146-neskfa-0>}}
> 
> 


Reply via email to