Don't work in Rails 3 #9

Closed
grimen opened this Issue Jun 4, 2010 · 12 comments

Projects

None yet

10 participants

@grimen

In my model:

class Product < ActiveRecord::Base
  acts_as_archive
end

Error:

ActionController::RoutingError (undefined local variable or method `acts_as_archive' for #< Class:0x000001037b1930 >):
  app/models/product.rb:1:in `'
  app/models/product.rb:1:in `'
  app/controllers/products_controller.rb:1:in `'
@clemens

Any plans on fixing this up for Rails 3 properly?

@emilford

Also interested in a Rails 3 version. Thanks!

@ariera

I'm interested as well
Thanks : )

@bhavinjavia

I'm evaluating this gem for my Rails 2.3.8 project. We plan to move to Rails 3 soon. Is there any plan to support Rails 3 within the next month or two ?

@nielsm

Me too

@vadimt

me three

@jacklin10

I would be interested in rails 3 compatibility also. At least mention if you plan on making this upgrade. Thanks so much!

@xxx

Hi,

I've spent the day updating my fork for Rails 3 compatability. The spec suite is fully green and hand-testing in a somewhat trivial app works fine as well, including ActsAsArchive.update

It's at http://github.com/xxx/acts_as_archive

I'll take bug reports for awhile, though I don't intend to take the gem over long-term.

This fork does not support Rails 2.x, though.

@winton
Owner

Hey guys,

You'll be happy to hear that version 0.3.0 now supports both Rails 2 and 3. I would love to get some feedback before I announce it officially.

@xxx
xxx commented Jan 5, 2011

Initial testing looks good here.

@winton
Owner

Thanks Michael. Thank you for the work in your branch as well, it helped me make some hard decisions relating to the new version.

@grimen

@winton: Awesome effort! I never thought anyone would have energy enough to spend on it so I was about to nuke it from my app. :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment