Open angelacode opened 13 years ago
That sounds odd, we're using acts_as_viewable in conjunction with acts_as_archive on a Rails 2.3 project here successfully.
Are you on Rails 2 or 3? I assume acts_as_viewable previously working before introducing acts_as_archive?
I am on Rails 3 now...Ii was on Rails 2....
I get the following:
undefined method `acts_as_viewable' for #Class:0xb54aa8c0
We have a rough internal version for rails 3 running on an app here, I've just pushed the code we are using to the rails 3 branch here.
https://github.com/iorum/acts_as_viewable/tree/rails3
Use the rails generate
syntax rather than the script/generate described in the Readme.
Note: There are no complete specs/test for this version, we have yet to implement these, so you have been warned.
hmm...on Rails 2 app it doesn't seem o be working...I still get this same error....how can I debug?
do I need to require a file in the model?
Could it have something to do with this plugin? plugins/searchlogic/lib/searchlogic/named_scopes/conditions.rb:81:in method_missing':NoMethodError: undefined method
acts_as_viewable'
It could have something to do with that, have you tried this without searchlogic?
I introduced a gem acts_as_archive which allows me to do a "soft delete" -- but acts_as_viewable stops working -- it doesn't recognize the method....is there some overlap between the two?