Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Chris Wanstrath's latest activity

Tuesday, June 12 2007
cache_fu: make the default config fil... was committed by Chris Wanstrath at 4:41 PM
Monday, June 11 2007
31 will_paginate doubles the number of pages that are actually there. was updated in Plugins
  • Chris Wanstrath
    Chris Wanstrath commented at 10:07 PM

    This may or may not be fixed with changeset 258. Update the plugin and try again.

* Add in ability to extract :conditio... was committed by Chris Wanstrath at 9:59 PM
Point users to the Lightouse URL htt... was committed by Chris Wanstrath at 10:06 AM
32 [PATCH] Update pagination_links_each in Classic Pagination to be consistent w... was updated in Plugins
Fix classic pagination to work smooth... was committed by Chris Wanstrath at 9:12 AM
updated README http://require.errthe... was committed by Chris Wanstrath at 5:48 AM
Sunday, June 10 2007
30 Will_Paginate needs require statement for "rake db:fixtures:load" was updated in Plugins
  • Chris Wanstrath
    • State changed from new to hold
    by Chris Wanstrath at 8:01 PM

    What version of Rails are you on? 1.2.3? I can't replicate this on edge.

Wednesday, June 06 2007
26 Find which page an item is on was updated in Plugins
  • Chris Wanstrath
    Chris Wanstrath commented at 7:44 PM

    Here's how I did it once:

    def self.page_for_pagination(id, per_page = 10)
      return if (id = id.to_i) < 1
      query = "SELECT id FROM %s ORDER BY id DESC" % ta...
28 Paginate page_count is incorrect was updated in Plugins
  • Chris Wanstrath
    • State changed from open to hold
    by Chris Wanstrath at 7:39 PM

    A failing test case would be super awesome. Our fixtures and tests are pretty nice, thanks to Mislav. Just set up something that fails, do a diff of it, and ...