Nathan WilmesNathan Wilmes
Standup 5/20/2010: More about SEO routes
edit Posted by Nathan Wilmes on Thursday May 20, 2010 at 09:13AM

Ask for Help

"Any clever ways to catch out of bounds exceptions from Solr?"

This is a follow-up to yesterday's Solr question. After some investigation, it looks like none of the major providers catch out of bound exceptions for very large numbers. Rather than instrumenting every Ruby call with validations to prevent these numbers from getting into Solr, are there any other brilliant ideas?

Interesting Things

  • Follow-up to the help from 5/19/2010's SEO routing question. The latest hotness appears to be FriendlyId (http://github.com/norman/friendly_id) This plugin makes human-friendly slugs and comes with a variety of interesting features, including versioning and slug scoping.

  • Power RubyMine commands:

Goto File + line #: If you use ctrl-shift-N to go to a file, try typing in a line number after a colon, something like "my_file:30". You'll end up on that line.

Analyze stack trace: This tool lets you paste in an external stack trace, and gives you the ability to browse to all of the pieces of that stack trace.

Comments

  1. Adam Berlin Adam Berlin on May 20, 2010 at 07:29PM

    Solr help if you're using Sunspot:

    Check out http://pivotallabs.com/users/jpignata/blog/articles/1228-nyc-standup-roundup-week-of-4-19

    We created a custom SessionProxy for trapping exceptions coming from Sunspot searches.

    -- Adam Berlin