Displaying 3 results from an estimated 3 matches for "k8q5a0yezag".
Did you mean:
k8q5a0yezags
2007 Mar 22
2
Enumerable sum oddity
Hi.
In this setup "account has_many :consultations". Can anyone explain
the following behaviour to me? Rails 1.2.2. The "sum" method should
return 0 for an empty array.
>> a = Account.find(1)
=> #<Account:0x39c80a8 @attributes={...}
>> a.consultations
=> []
>> a.consultations.sum(&:foo)
ArgumentError: wrong number of arguments (1 for 2)
2005 Dec 08
2
bounce effect
Hi,
I was wondering if anyone has seen (or completed) an effect to make
something ''bounce'' like icons do in the OS X dock when you launch
them? Something that looks like there''s a bit of gravitational
behavior to it?
Thanks,
Trevor
Trevor Squires
http://somethinglearned.com
2005 Mar 18
1
newbie question on ActionMailer
Hi,
I normally try to really figure things out before asking a stupid
question but I''m tight on time and the stack trace indicates a pretty
low-level problem... something scary for a newb.
I''m hoping that someone can just say "you forgot to polish the widget
before turning the crank" or some other simple newbie-slap.
I''m trying to get actionmailer to send