• May
    14
    2009

    Thinking sphinx and paginating find

    Share
    I wrote sometime back about moving from ferret to sphinx and decided to write the second part of the post today. At Muziboo, we use the paginating find plugin to paginate results. You can find a great tutorial on paginating find at Ilya’s blog. Thinking sphinx however works only with will paginate plugin (atleast out [...]

  • May
    06
    2009

    Rails 2.3 routing gotcha with :format

    Share
    I recently upgraded Muziboo to Rails 2.3 and found out that some of my routes were broken. On digging deeper I found out that I had some routes with two version, one without :format and one with :format going to different controllers/actions. I had the route with :format before the route without :format in the [...]

  • May
    04
    2009

    Use RedCloth to nofollow all user generated links

    Share
    Nofollow attribute in link tag makes sure that search engine bots don’t use the link for crawling the destination site. This is a measure to combat link spam and to make sure that you don’t pass link juice if you don’t want to. This is especially important for user generated content sites as they have [...]

 
Powered by Wordpress and MySQL. Theme by openark.org