From: Joshua Muheim Date: 2009-10-11T18:16:09+09:00 Subject: When use self.method_name and when only method_name? Hi all Just a small newbie question: When calling a method inside an object, I should always use self.method_name for good style, right? I know that I could always only use "method_name", but it's a bit prone to errors because I could have also a local variable called "method_name", and when I use "self." I always call the method, and not a potentially available local variable. So it's always better style to use: def validate self.errors.add_to_base("...") end instead of: def validate errors.add_to_base("...") end Right? :-) Thanks Josh -- Posted via http://www.ruby-forum.com/.