Displaying 2 results from an estimated 2 matches for "pursuitofbeauti".
Did you mean:
pursuitofbeauty
2006 Mar 05
3
SQL Query for related entries based on tags
Can anyone help me out with a SQL query to pull related entries based on
tags?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 06
4
Record retrieval in Many-to-many using :through not working
Hello,
I get an error while retrieving records from the following model structure.
Tables
foods - id, food
foodallergies - food_id, symptom_id, a few other columns
symptoms - id, symptom
Models
class Food < ActiveRecord::Base
has_many :foodallergies
has_many :symptoms, :through => :foodallergies
end
class Symptom < ActiveRecord::Base
has_many :foodallergies
has_many :foods,