From: Ben Rayfield Date: 2009-02-14T02:29:16+09:00 Subject: [ruby-core:22052] [Bug #1140] Parsing error gives method_missing a nonexistant method name Issue #1140 has been updated by Ben Rayfield. Please close this as Not-A-Bug. I apologise for not finding this earlier: "Methods that end with an equals sign (=) are special because Ruby allows them to be invoked using assignment syntax. If an object o has a method named x=, then the following two lines of code do the very same thing: o.x=(1) # Normal method invocation syntax o.x = 1 #Method invocation through assignment" http://books.google.com/books?id=jcUbTcr5XWwC&pg=PA6&lpg=PA6&dq=ruby+method+equals&source=web&ots=fHDkwd7ybC&sig=nI4zpxc836knAK1hIx0rXXiFcOQ&hl=en&ei=MqyVSfPGB4risAPh--W-Bw&sa=X&oi=book_result&resnum=1&ct=result#PPA6,M1 I have fixed my problem by putting the method_missing in a class instead of in global code where it replaced the method_missing in element.rb. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1140 ---------------------------------------- http://redmine.ruby-lang.org