Frederick Cheung wrote:
> On Sep 15, 4:26�pm, Aldric Giacomoni <rails-mailing-l...@andreas-
> s.net> wrote:
>> solution?
>> How do I execute pure SQL from within Rails? Do I have to use DBI?
>>
> 
> YourModel.connection.execute
> 
> But you can't do it with pure sql if the tables are in different
> databases. Of course the ultimate solution to finding matches between
> two tables like this is to not need to in the first place - organise
> your data so that it isn't duplicated.
> 
> Fred

I'm about ten years too late in this company for that.
Now we're trying to bring it together. My data OCD is cringing.
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to