Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot modify SafeBuffer in place #15

Open
bokor opened this issue Aug 3, 2011 · 1 comment
Open

Cannot modify SafeBuffer in place #15

bokor opened this issue Aug 3, 2011 · 1 comment

Comments

@bokor
Copy link

bokor commented Aug 3, 2011

Got this error when I installed the gem and copied the refinery default templates

TypeError in Pages#home

Showing /Users/bokor/.rvm/gems/ruby-1.9.2-p180/gems/refinerycms-core-1.0.0/app/views/shared/_head.html.erb where line #11 raised:

Cannot modify SafeBuffer in place
Extracted source (around line #11):

8: <%= yield :meta %>
9:
10: <%= stylesheet_link_tag stylesheets_for_head(stylesheets||=%w(application formatting theme), theme ||= nil),
11: :cache => ("cache/application" if Rails.root.writable? and
12: RefinerySetting.find_or_set(:use_resource_caching, true) and
13: request.env['HTTP_USER_AGENT'] !~ /MSIE/ and (theme ||= nil).blank?) %>
14: <%= stylesheet_link_tag "home", :theme => theme if home_page? %>
Trace of template inclusion: themes/shelterexchange/views/layouts/application.html.erb

@nickurban
Copy link

I'm having the same problem when I try to upgrade my Refinery 1.0 app from rails 3.0.7 to 3.0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants