From: Sergey Sheypak Date: 2010-02-12T19:23:27+09:00 Subject: Re: String to symbol Sergey Sheypak wrote: > >> I referred to passing strings to #initialize. This certainly works. >> But the more dramatic issue persists (see above). > Seems like I got it here: > http://www.ruby-forum.com/topic/204068 > > Is there any opportunity to add attributes to instance, not to class? > >> Kind regards >> >> robert http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002323 2435: self.class.send(:scope, :create).each { |att,value| self.send("#{att}=", value) } if self.class.send(:scoped?, :create) Do I need someting like that? -- Posted via http://www.ruby-forum.com/.