Ian Fisher's blog



Ian FisherIan Fisher
RubyConf awaits!
edit Posted by Ian Fisher on Thursday July 29, 2010 at 10:40AM

Ask for Help

"What do you do when your JS files are so big they crash RubyMine? Like when they are bigger than 300k..?"

Try turning off syntax highlighting. We're going to try to send a project to JetBrains that reproduces this issue so they can get log a ticket for it.

Interesting Things

  • RubyConf registration starts 8/1 @ noon!
  • You can use swfobject to inject http content into an https page to bypass the warnings in IE. Obviously use this responsibly :)

Ian FisherIan Fisher
Rails 3 RC!
edit Posted by Ian Fisher on Tuesday July 27, 2010 at 09:40AM

Ask for Help

"What good OpenID solutions are there for rails?"

Janrain provides a service and the rpx_now gem that can handle a lot of the OpenID logic for you.

Interesting Things

  • You can use rvm with the --rvmrc --create flags to create a .rc file in any directory that will set the version of ruby to use in that directory. A few people said this is particularly useful to do in the root directory of your projects.
  • jQuery 1.4.3 has a bug with IE7 and live events, e.g. if you register a live event for form submits and for button clicks, when a user clicks a form's submit button on the click event is fired and not the submit event. 1.42 seems to work correctly.
  • There's an Android meetup tonight about real time development here in SF. Check it out if you're interested! We've had good experiences at previous meetups with this group.
  • And last but not least... a Rails 3 RC came out late last night! Looks like they're hoping to have an official release in a few weeks.

Ian FisherIan Fisher
Standup 07/26/2010: The Bleeding Edge of Bundler
edit Posted by Ian Fisher on Monday July 26, 2010 at 05:21PM

Interesting Things

  • Bundler 1.0.0.rc.1 was released - try it out and help find any issues!
  • There was a warning that running thin in dev mode can cause all requests to be cached in memory... not so thin. Running in production mode doesn't seem to have this issue.
  • Another warning today - Rails 2.3.8 and mongrel don't play nicely together. There are some issues with headers not being passed correctly between the two of them. It was recommended to use passenger instead of mongrel if you want to use 2.3.8.