Hi,
I tried upgrading from version 3.4.10 to 3.6.0.pre4, but now getting following error:
undefined method page for #<Class:0x007faea19a7340>
I'm using Rails 4.2.0 and ruby 2.3.1. I already updated the wice_grid config file.
Can't find and further mistake... cleared most of my code and used a clean Table with just one column but getting this error all the time. Also with different models. Using it like:
Controller:
<%=
grid(@events) do |g|
g.column name: 'ID', attribute: 'id' do |event|
event.id
end
g.column name: 'Eventtyp', attribute: 'translation_code', assoc: :event_type do |event|
I18n.t event.event_type.translation_code
end
end
-%>
Ok finally found the stupid error...
I had an old initializer for Kaminari which configure some per_page settings... after deleting these everything works again.
Hi, I tried upgrading from version 3.4.10 to 3.6.0.pre4, but now getting following error:
undefined method page for #<Class:0x007faea19a7340>
I'm using Rails 4.2.0 and ruby 2.3.1. I already updated the wice_grid config file. Can't find and further mistake... cleared most of my code and used a clean Table with just one column but getting this error all the time. Also with different models. Using it like: Controller:
View:
Any suggestions?