Thanks for the reply Mark,

This is as I thought... :(

At least it is sort of do-able, I don't enjoy putting sql in
activerecord but sometimes I guess it is needed...

Cheers

Richard

On Mar 19, 1:29 pm, Mark Reginald James <[email protected]> wrote:
> Richard wrote:
> > Is this possible ??
>
> Yes, but only with custom SQL:
>
> Model.connection.insert "replace into #{Model.table_name} ...."
>
> --
> Rails Wheels - Find Plugins, List & Sell Plugins -http://railswheels.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to