- A polite reminder that when defining associations that need
:sourcekeys that the values should be strings and not Ruby constants. That way lies madness.
- RubyMine build 500 gets running “Focused”
Test::Unittests (file or single test) right via
Ctrl-Shift-F10. Specs aren’t working quite right yet, but JetBrains appears to be working on it.
Ask for Help
“Anyone having odd slowness with Google Gears?”
We are having an issue with slowness in a Google Gears app, where certain actions take several times longer on some boxes. It is only slow on some of the client’s windows XP machines, but not all. Never on mac. It is slow in BOTH Firefox 3 and IE 7 on the slow machines.
The Gears sqlite db and dir does not seem to be the problem either – a clean IE data, cache and gears data dir still runs slow, and moving the ‘slow’ gears data dir to a fast machine runs fast.
Also cleared all IE data, compared/upgraded Gears versions, Java versions, and Windows Service Pack versions. Nothing seems to be a common denominator yet. Nothing obvious on google searches…
“Multi-select widget for a ‘has_many :through’ relationship?”
I have an association like this:
class Foo has_many :bars, :through => :barrings end
I’m looking for a ‘widget’ for the
Foos page that will let me assign/unassign multiple
Bars at once. Looking at the
options_for_select helpers, etc, reminded me that the Rails built-in stuff is lacking. I was hoping that someone has already written a sweet multi-select widget that I could be lazy and use.