From: "Iñaki Baz Castillo" Date: 2011-05-01T04:25:55+09:00 Subject: Why defining a constant in a method is not allowed but using self.class.const_set is allowed? Hi, assinging a value to a constant within a method is not allowed (SyntaxError:: dynamic constant assignment) but I can use self.class.const_set within a method. Which is the difference? -- Iñaki Baz Castillo