The effect reload problem in Prototype and Scriptaculous
March 9th, 2008
This problem actually relates to any site that uses queued effects, I just ran into it on Ruby on Rails. The problem is that if you queue up too many scriptaculous effects on a dom object, you will end up having nothing displayed, or flickering or highlights that never fade etc…
Read the rest of this entryJavascript Field Monitor
February 25th, 2008
While working on a recent Ruby on Rails project, I needed to be able to check the changes in the forms that were appearing on the page and highlight those fields on change. I looked around and couldn’t really find anything I liked, so I made one.
Read the rest of this entryLatest comments
- Tomek
CTR-W is my best friend :) So called bash shotcuts – highly recommended stuff
- Ali Rizvi
Did you mean Person.new instead of MyStruct.new in your second code excerpt?
Keep up the good work! Ali
- Mikel
@Clemens
I actually use Geoffrey’s approach in all my spec’s in addition to this little builder.
The idea of the...
- Clemens Kofler
Geoffrey Grosenbach uses another method in his screencasts sometimes.
In your user_spec.rb, you’d have the following code:module UserSpecHelper...
- Xavier Shay
Even quicker way to assign User.find to a variable: user = _
the value of the last line executed is...
- Mikel
Duncan, good point, I changed the code above. Thanks for that.