On 20/04/2012, at 2:13 PM, Michael Koziarski wrote: > >> Hi, >> >> A quick question: in the query `Company.where(:status => :active)`, is it OK >> to use the symbol (:active) as a value in the query? >> >> It definitely works with no issues at all. >> > I'm not sure I'd consider it a public stable API, but if it works, go wild :).
So it is not a public API and the symbols were not supposed to be used this way? RIght? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en.
