Displaying 3 results from an estimated 3 matches for "x_id".
Did you mean:
_id
2006 Apr 03
1
:through causes White Screen of Death
i''m trying to get :through associations working per the wiki:
http://wiki.rubyonrails.com/rails/pages/ThroughAssociations
i follow the instruction to the t, with the exception that i''m trying to use it
with a polymorphic association. here are the associations in my models:
Collection has_many :collectings
Collection has_many :collectables, :through => collectings
Collecting
2006 Jan 05
0
relationships in text fixtures
I''d like to be able to do something like:
--- x.yml ---
x1:
id: 1
...
--- y.yml ---
y1:
id: 1
x_id: <%= xs(:x1) %> # Instead of hard coding ''1''
but I haven''t found a way to make it work yet. Is this even
supported? Any hints? :)
-tim
2006 Jan 12
16
master detail problem
Hello all,
Has anyone done one of these? I''ve done similar things in java and php,
by having easy access to SQL statements. I am new to Ruby/Rails( I''ve
been at it for 10 days ) and thus far find it extremely confusing. I''ve
got a bit more of a handle on it from the Agile book that someone loaned
me, but I still find it hard to understand.
Anyway, I''ve got