Skip to content

Support for Rails 3.2#15

Open
eendeego wants to merge 6 commits intotechnoweenie:masterfrom
eendeego:master
Open

Support for Rails 3.2#15
eendeego wants to merge 6 commits intotechnoweenie:masterfrom
eendeego:master

Conversation

@eendeego
Copy link

No description provided.

firien and others added 6 commits April 19, 2011 18:19
- Removed several deprecation warnings on APIs like set_table_name
- Incorporated Behaviors InstanceMethods submodule methods into Behaviors
Made clone_versioned_model check for existence of versioned type columns.
@chuyihuang
Copy link

Does actually the current version work on Rails 3.2.2? I have been able to install it but when I try to save a model I got

TypeError: can't convert String into Integer
from /Users/developer/.rvm/gems/ruby-1.9.3-p125@rails322/gems/activerecord-3.2.2/lib/active_record/attribute_methods/dirty.rb:63:in `[]='

The SQL queries work fineif I run them directly.

Thanks for any help.

@eendeego
Copy link
Author

eendeego commented Mar 9, 2012

@chuyihuang I'm using these patches in production without problems

@chuyihuang
Copy link

Thank you and it works fine for me now.

@dimameshcharakou
Copy link

I updated rails from 3.0 to 3.2.11 and when I run bundle update I got message:

Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
rails (~> 3.2.11) ruby depends on
activerecord (= 3.2.11) ruby

acts_as_versioned (~> 0.6.0) ruby depends on
  activerecord (3.0.19)

Thanks for any help.

@dimameshcharakou
Copy link

I add to gemfile source from github and problem was solved.

@skandragon
Copy link

Is this project dead, considering that this pull request is over a year old, and the author has not even chimed in?

@k1w1
Copy link

k1w1 commented Apr 26, 2013

@skandragon You might want to try https://github.com/jwhitehorn/acts_as_versioned.

@brauliobo
Copy link

any fork for rails 4 support?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants