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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
same issue here... On Aug 8, 8:52 pm, "Tomas R." <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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 > > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
so its a problem with arel 2.1.5, thanks for the tip -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
ryanjmclaughlin wrote in post #1015638:> same issue here...arel 2.1.4 downgrade made everything work perfectly, thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
@tenderlove yanked the troublesome 2.1.5 gem: https://github.com/rails/arel/issues/72 Problem solved. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.