I'm not sure if there is a term for this (which is why I can't find anything on google) but I want to be able to set one of my models active, where the rest will be set to inactive.
I would guess to write a method that sets all the records to inactive, then set the selected object to active. That seems like it's pretty messy though. Is there some sort of built-in functionality with rails that will only allow one column to be true at a time? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

