Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3.1.3 -> 3.2.1 Error

My app has been running fine under 3.1.x for some time now. It currently is running under 3.1.3. I attempted to migrate to 3.2.1; however I get the following error every time I make a db query:

NoMethodError: undefined method `synchronize' for nil:NilClass

This occurs with any active-record query such as User.first, User.all, User.find(1), etc. I have tried using multiple versions of the sqlite3 gem in development to see if that was the issue but I haven't had any luck. The version I tried was 1.3.5 w/ Rails 3.2.1.

like image 681
loneaggie Avatar asked Jan 30 '12 05:01

loneaggie


1 Answers

try update gem "kaminari" from "0.12.4" to "0.13.0"

like image 198
vkill Avatar answered Sep 24 '22 00:09

vkill