pluginaweek / enumerate_by

Adds support for declaring an ActiveRecord class as an enumeration
http://www.pluginaweek.org
MIT License
38 stars 9 forks source link

uninitialized constant ActiveRecord::Serialization::Serializer on Rails 3 RC #4

Open obrie opened 12 years ago

obrie commented 12 years ago

Emmanuel Nicolau opened this issue

@@@ ruby

uninitialized constant ActiveRecord::Serialization::Serializer /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/enumerate_by-0.4.4/lib/enumerate_by/extensions/serializer.rb:115:in <top (required)>&rsquo; /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/enumerate_by-0.4.4/lib/enumerate_by.rb:3:in<top (required)>’ /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.2/lib/bundler/runtime.rb:64:in require&rsquo; /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.2/lib/bundler/runtime.rb:64:inblock (2 levels) in require’ /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.2/lib/bundler/runtime.rb:62:in each&rsquo; /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.2/lib/bundler/runtime.rb:62:inblock in require’ /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.2/lib/bundler/runtime.rb:51:in each&rsquo; /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.2/lib/bundler/runtime.rb:51:inrequire’ /Users/Emma/.rvm/gems/ruby-1.9.2-rc2/gems/bundler-1.0.0.rc.2/lib/bundler.rb:114:in `require’ ... @@@

original LH ticket

This ticket has 0 attachment(s).

rmw commented 12 years ago

I am also having this issue. The problem is that Serialization::Serializer no longer exists in Rails > 2.3.8 and neither do the methods in alias_method_chain. I am working on a solution. Let me know if you are also.