resolve/refinerycms-blog — Issue #162: Can't create a post on 3.1 branch
Author: sobko
Created: 2011-12-29 01:32:10+00:00
State: open

Steps: Create a new refinery app with

rails new refinery2 -m https://raw.github.com/resolve/refinerycms/master/templates/refinery/edge.rb

uncomment:

gem 'refinerycms-blog', :git => 'git://github.com/resolve/refinerycms-blog.git', :branch => 'rails-3-1'

bundle install

then:

rails generate refinery:blog
rake db:migrate
rails s

Looks fine, but when I create a blog post, and then go to http://localhost:3000/refinery/

I get:

ActionView::Template::Error (undefined method `edit_refinery_blog_posts_admin_blog_post_path' for #):
1:

2:

<%= t('.latest_activity') %>

3: <% if (activity = @recent_activity.collect{|a| activity_message_for(a)}.reject(&:blank?)).present? %>
4:

5: <% activity.each do |message| %>
6:
'>

Rendered /Users/mark/.rvm/gems/ruby-1.9.2-p290@refinery2/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered /Users/mark/.rvm/gems/ruby-1.9.2-p290@refinery2/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /Users/mark/.rvm/gems/ruby-1.9.2-p290@refinery2/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.4ms)

Thanks!

Mark