resolve/refinerycms-inquiries — Issue #49: undefined method `default_parts'
Author: boblin
Created: 2011-12-20 14:13:32+00:00
State: open

Hi,
I am trying to install refinerycms 2.0 with refinerycms-inquiries

part of my Gemfile:
```gem "refinerycms", :git => "git://github.com/resolve/refinerycms.git"
gem 'refinerycms-inquiries', :git => 'git://github.com/resolve/refinerycms-inquiries.git', :branch => 'rails-3-1'
```

When I try to go to http://localhost:3000/contact I get this error:

...gems/refinerycms-inquiries-bf2505cb665f/app/views/refinery/inquiries/new.html.erb where line #4 raised:
undefined method `default_parts' for #

This is line 4 of new.html.erb: `<%=raw @page.content_for(Refinery::Page.default_parts.first.to_sym) %>`

It looks that this part is obsolete and depends on code from refinerycms-pages-1.0.9/app/models/page.rb.