Giter Club home page Giter Club logo

Comments (6)

parndt avatar parndt commented on June 2, 2024

Yeah, it's a protection against mass assignment but the globalize library has handled that for a while.

What version of these are you using:

  • refinerycms
  • refinerycms-news
  • globalize3 / globalize

from refinerycms-news.

joermungandr avatar joermungandr commented on June 2, 2024

I had refinerycms 2.0.10. I updated it and now my project is broken :-D The layout also changed. If I try to enter one of my extensions I get "undefined method `acts_as_indexed' for #Class:0x007fcfbd94c868" I'll try to fix this.

from refinerycms-news.

joermungandr avatar joermungandr commented on June 2, 2024

I solved the first error, but not this one:
NoMethodError in Refinery/admin/dashboard#index

Showing /Users/gadreel/.rvm/gems/ruby-1.9.3-p429/gems/refinerycms-dashboard-2.1.1/app/views/refinery/admin/dashboard/_recent_activity.html.erb where line #4 raised:

undefined method `slug' for #Refinery::User:0x007faf5d45c6d0

Extracted source (around line #4):

1: <div id='recent_activity'>
2:   <h2><%= t('.latest_activity') %></h2>
3:   <% if (activity = @recent_activity.collect { |a|
4:           activity_message_for(a)
5:         }.reject(&:blank?)).present? %>
6:     <ul class='clickable'>
7:     <% activity.each do |message| %>

from refinerycms-news.

ugisozols avatar ugisozols commented on June 2, 2024

It appears that you're missing migration(s) that were added in 2.1. Did you follow our upgrade guide (specifically this)?

from refinerycms-news.

joermungandr avatar joermungandr commented on June 2, 2024

Oh stupid me! I forgot this part. But you should update your guide! rails generate refinerycms --update does not work! I used rails generate refinery:cms --update Now the first problem also disappeared! :-) THX

from refinerycms-news.

parndt avatar parndt commented on June 2, 2024

Where do we say to use rails generate refinerycms --update?

from refinerycms-news.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.