Hi skt,
First of all: I would highly encourage you to upgrade immediately to at least 3.0.20. Second: What method are you calling exactly to get that error? On Wed, Sep 3, 2014 at 2:35 PM, skt <stibre...@gmail.com> wrote: > Hello, > I am on an old version of Rails (3.0.5) and can't upgrade right now. When I > try to use assign_attributes on a model I get the error that the method is > not found as below > NoMethodError - undefined method `assign_attributes' for > #<User:0x007ffb7c2ae638>: > activemodel (3.0.5) lib/active_model/attribute_methods.rb:364:in > `method_missing' > activerecord (3.0.5) lib/active_record/attribute_methods.rb:46:in > `method_missing' > I searched for the method in the classes where update_attributes is defined > but indeed I couldn't find assign_attributes defined in any of the gems. > From the history of the method in the docs > <http://apidock.com/rails/v3.1.0/ActiveRecord/Base/assign_attributes> I > understand it was created in 2.3.8 so I would think the method would be > there in 3.0.5. > Any thoughts on why my ActiveRecord 3.0.5 gem doesn't have this method > defined? > Thanks, > -S > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-core@googlegroups.com. > Visit this group at http://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.