On 5 May 2011 15:23, S Ahmed <sahmed1...@gmail.com> wrote: > I just want to understand, why is it different when setting a value, why > doesn't it assume I want self.attribute1 if there was no local variable with > the same name e.g. 'attribute1'.
How would you ever create that attribute1 local variable if the setting assumed it should use self.attribute1 ?! :-) -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.