Displaying 2 results from an estimated 2 matches for "my_widgets".
Did you mean:
m_widgets
2006 Dec 06
0
.find conditions when multiple objects returned
...ted with one or more customers
Each customer has multiple users
Each widget is associated with a customer
I’ve seen tons of examples like this:
If I want to do something like this…
u = Users.find_by_name(''Jeff'')
#returns one user
puts u.customers
#returns multiple customer objects
my_widgets = u.customers.widgets
If I want to get a list of my widgets, this doesn’t work if I belong to
multiple customers, since u.customers returns an array of customer
objects that belong to the user
So, if I want to get a list of my widgets, do I have to do something
like this as a part of my user model,...
2007 Sep 27
2
wxRuby Documentation / Textitle Docs
Hey All,
Just wanted to let you guys know, that with the HTML Generated
documentation from the Textile source code, does not show *''s in stuff
like Wx::FileDialog. It''s interpreting this as a Bold, not as an
Asterisk. Just thought you''d want to know that.
L8ers,
Mario Steele