MaD wrote: > how would you access that attribute (rowstate), if you don't have a > model for it? > > what exactly do you mean by "softdelete"? why not leave it to rails to > delete the rows whenever you unaasign a user from a profile?
I dont want to delete any rows from the mapping table as, considering from performance point of view, deleting will take more time than updating. So , whenever i unassign a person from a profile, i'll just update the rowstate as "deleted". My requirement is that. I know that we cant access the extra attribute without a model. As i'm a fresher in rails i just wanted to know if there is a way to do that. Thanks :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

