On Oct 23, 1:30 pm, "Kazim Zaidi" <[EMAIL PROTECTED]> wrote: > Hi Nick, > This is because Ruby constants are not constants. They can change. > Ruby warns you when you reinitialize a constant, but not otherwise. > That is, > Constant << "anything" > won't produce a warning. > > You should use something like, > conditions_string = self.sql_for_non_null_coordinates.dup > ....
Thanks for the tip, Kazim! That answers my question perfectly. Cheers, Nick --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

