Hello Is anyone having issues with acts_as_versioned and Rails 2.1 ? On saving an Active Record object using acts_as_versioned "NoMethodError: You have a nil object when you didn''t expect it!" and: from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/attribute_methods.rb:211:in `version='' from /Users/toby/rorbar/olhc_website/vendor/plugins/acts_as_versioned/lib/acts_as_versioned.rb:431:in `send'' from /Users/toby/rorbar/olhc_website/vendor/plugins/acts_as_versioned/lib/acts_as_versioned.rb:431:in `set_new_version'' --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
The partial updates feature in 2.1 caused a conflict with the the way acts_as_versioned handles it''s own change history. Check out the latest master on github as this has been resolved: http://github.com/technoweenie/acts_as_versioned/tree/master On Jun 5, 10:31 am, "toby privett" <tobypriv...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello > > Is anyone having issues with acts_as_versioned and Rails 2.1 ? > > On saving an Active Record object using acts_as_versioned > > "NoMethodError: You have a nil object when you didn''t expect it!" > > and: > > from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/attr ibute_methods.rb:211:in > `version='' > from /Users/toby/rorbar/olhc_website/vendor/plugins/acts_as_versioned/lib/acts_a s_versioned.rb:431:in > `send'' > from /Users/toby/rorbar/olhc_website/vendor/plugins/acts_as_versioned/lib/acts_a s_versioned.rb:431:in > `set_new_version''--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
check out the latest version on github, there is a conflict with the way 2.1 handles partial attributes and acts_as_versioned which has now been resolved. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> The partial updates feature in 2.1 caused a conflict with the the way > acts_as_versioned handles it''s own change history. Check out the > latest master on github as this has been resolved: > > http://github.com/technoweenie/acts_as_versioned/tree/masterThanks very much, Tekin! --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Not working for me, I have to say. "gem install acts_as_versioned" only installs the documentation, and none of the CVS links provided by this "git" thing work. If I’m wrong, please let me know by all means, but only if you can provide a working link. Thanks, -M toby privett wrote:>> The partial updates feature in 2.1 caused a conflict with the the way >> acts_as_versioned handles it''s own change history. Check out the >> latest master on github as this has been resolved: >> >> http://github.com/technoweenie/acts_as_versioned/tree/master > > Thanks very much, Tekin!-- 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
mark you could just go to github and download the tarbal and untar it into your vendor plugins directory if you are having trouble getting git to work for you. On Sat, Jul 26, 2008 at 4:08 PM, Mark Steadman < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Not working for me, I have to say. "gem install acts_as_versioned" only > installs the documentation, and none of the CVS links provided by this > "git" thing work. > > If I''m wrong, please let me know by all means, but only if you can > provide a working link. > > Thanks, > -M > > toby privett wrote: > >> The partial updates feature in 2.1 caused a conflict with the the way > >> acts_as_versioned handles it''s own change history. Check out the > >> latest master on github as this has been resolved: > >> > >> http://github.com/technoweenie/acts_as_versioned/tree/master > > > > Thanks very much, Tekin! > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---