Comments (6)
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.
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.
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.
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.
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.
Where do we say to use rails generate refinerycms --update
?
from refinerycms-news.
Related Issues (20)
- weired behavior when i try to destory news HOT 5
- I guess the dependency refienrycms-settings is useless HOT 1
- Slug doesn't update upon saving with changed title HOT 3
- Use the show action for archive news crashes the application HOT 1
- Custom teasers are not supported HOT 3
- Multi locales error when title is initially english
- New Image fails HOT 3
- After creating a multi-language New Item, French version is no longer editable HOT 1
- If a News Expires, The Archive link is broken! HOT 1
- Migration error when trying to do fresh install HOT 1
- Refinery-cms News don't work on refinery-cms 3.0.1 HOT 5
- News don't working HOT 9
- Change the default news route HOT 1
- Typo in seeds.rb HOT 1
- compatibility issue in friendly_id gem when use with refinerycms in rails4 HOT 3
- After restart, News in admin area drops 404 HOT 3
- RefineryCMS 4.0.x support HOT 3
- Dependabot can't resolve your Ruby dependency files
- Db migrations fail with the refinery4-compatible branch matho-update HOT 1
- uninitialized ActionView::CompiledTemplates::Mobility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from refinerycms-news.