I have a Card table that previously had all of the data in it. I made
a quite few tables and pulled the duplicated data into their own
table.
I was doing this:
@cards = Card.find_all_by_node_id(@node.id, :conditions =>
["HwDescription like ? OR HwDescription like
?","%OC%","%DS-1%"])
Now that is broken as the data is in a hwdescriptions table.
Any idea how to do this same query with a one-one relationship?
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---