Hi,
I'm using radiant 0.9.1 and paperclipped installed via 'script/extensions install paperclipped'. When I try to add page part I get the following error:
NoMethodError in Admin/page_parts#create
Showing vendor/extensions/paperclipped/app/views/admin/assets/_show_bucket_link.html.haml where line #1 raised:
undefined method `new_record?' for nil:NilClass
Extracted source (around line #1):
1: - unless @page.new_record?
2: %span#show-bucket
3: = t('paperclipped.bucket')
4: = link_to t("paperclipped.show_assets_bucket"), "#"
Trace of template inclusion: /usr/local/lib/ruby/gems/1.8/gems/radiant-0.9.1/app/views/admin/page_parts/_page_part.html.haml
Request
Parameters
{"commit"=>"Add Part",
"authenticity_token"=>"kfnd41cIuHYyMmnK/dV1TLdhmrMpwdkZrhKGPET23A4=",
"page_part"=>{"name"=>"sidebar"},
"index"=>"1"}
Show session dump
Response
Headers:
{"Content-Type"=>"text/html",
"Cache-Control"=>"no-cache"}
Full stack trace is here http://codepad.org/zFZfezVn
Thank you.