i updated from RC4 to RC5 (3.1) and everytime I do SomeModel.all, .first, anything I get something like this ActionView::Template::Error (undefined method `visitor' for #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x00000003c9a1f0>): PostgreSQLAdapter or SQLiteAdapter
on 2011-08-09 02:52
on 2011-08-09 04:22
i'm receiving the same error with both 3.1rc4 and rc5 ... the cause appears to be with arel 2.1.5. i added gem "arel", "2.1.4" to my gemfile and the error went away. Tomas R. wrote in post #1015594: > i updated from RC4 to RC5 (3.1) and everytime I do > SomeModel.all, .first, anything I get something like this > > ActionView::Template::Error (undefined method `visitor' for > #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x00000003c9a1f0>): > > PostgreSQLAdapter or SQLiteAdapter
on 2011-08-10 06:30
ryanjmclaughlin wrote in post #1015638:
> same issue here...
arel 2.1.4 downgrade made everything work perfectly, thanks.
on 2011-08-11 00:02
@tenderlove yanked the troublesome 2.1.5 gem: https://github.com/rails/arel/issues/72 Problem solved.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.