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.

Activity (RSS)

Friday, August 24 2007
91 Optional Previous and Next links was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Chris Wanstrath at 9:11 AM
  • Elijah Miller
    Elijah Miller commented at 4:20 AM

    Yes exactly what I meant! Good work.

    I wish everyone could see the attachments!

  • Andy Stewart
    Andy Stewart commented at 4:15 AM

    You can set those options to nil or '' and either way the previous

    and next links will be suppressed.

    This works because I use #blank? on the options to deci...

  • Elijah Miller
    Elijah Miller commented at 4:04 AM

    I was just to about to do the same thing! It would preferable if it could accept nil too.

  • Andy Stewart
    Andy Stewart created the ticket at 3:18 AM

    The view helper always generates previous and next links. I would prefer to have a choice about whether they are generated or not.

    This patch gives you that ...

92 avoid doing count on last page was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Chris Wanstrath at 9:11 AM
  • Elijah Miller
    Elijah Miller created the ticket at 4:16 AM

    I tried my hand at implementing this but the way options are parsed and shuffled around makes a bit tricky. Here's the gist:

    When we get the result set, if th...

90 paginate on an association loads the entire association before doing a count was updated
  • Chris Wanstrath
    • State changed from new to open
    by Chris Wanstrath at 9:11 AM

    That's my fault, I'll investigate.

  • Elijah Miller
    Elijah Miller created the ticket at 2:52 AM

    It would appear the scoper area of wp_count! in finder.rb is causing the association to be completely loaded before doing any pagination on it. Line 122 of fin...

Thursday, August 23 2007
89 patch for borked-untested-but-released-1.1-nginx was updated
  • Tim Dysinger
    Tim Dysinger commented at 6:32 PM

    Just so you know

    server_name: .errtheblog.com

    is the way nginx handles wildcard domains. This would make that virtual server catch all subdomains too on por...

  • Tim Dysinger
    Tim Dysinger commented at 6:27 PM

    Cool thanks!

    duece:~ tim$ sudo gem updatePassword:

    Updating installed gems...

    Need to update 1 gems from http://gems.rubyforge.org

    .

    complete

    Attempting ...

  • Chris Wanstrath
    • State changed from open to resolved
    by Chris Wanstrath at 6:07 PM

    All fixed up in http://projects.require.errthebl..., gem 1.3 pushed to Rubyforge.

  • Tim Dysinger
    Tim Dysinger commented at 5:51 PM

    duece:~ tim$ cd Projects/ncg/

    duece:~/Projects/ncg tim$ cd lib/duece:~/Projects/ncg/lib tim$ ruby ./nginx_config_generator.rb config.yml.example /tmp/nginx.co...

  • Tim Dysinger
    Tim Dysinger commented at 5:46 PM

    duece:~ tim$ sudo gem update

    Password:

    Updating installed gems...

    Need to update 8 gems from http://gems.rubyforge.org

    ........

    complete

    Attempting remot...

4 earlier changes…
  • Chris Wanstrath
    • State changed from new to open
    by Chris Wanstrath at 4:21 PM

    1.2 was pushed this morning, fixing the erb bug. Are you still experiencing problems?

  • Tim Dysinger
    Tim Dysinger commented at 3:38 PM

    1 - The ruby script was not loading the config yml file at all.

    2 - I indented the blocks on the ERB so I could tell what was wrong. It was completely missin...

  • Tim Dysinger
    Tim Dysinger commented at 3:30 PM

    Dude,

    No offense. I know I don't know you but --- WTF is up with 1.1 release of nginx_config_generator. Nobody even attempted to try the erb template nor th...

  • Tim Dysinger
    Tim Dysinger created the ticket at 3:28 PM
66 Paginate custom finders was updated
  • Mislav
    Mislav commented at 3:14 PM

    Will Paginate now supports the scope_out plugin. Continue the discussion on the blog...

  • Adam Cohen
    Adam Cohen commented at 2:33 PM

    I echo your concerns Zargony, I'd love to see support for custom complex finders as well. Is this a possibility in the future Mislav?

Tuesday, August 21 2007
yet more rdoc changes http://plugin... was committed by Chris Wanstrath at 3:38 PM
more rdoc stuff http://plugins.requ... was committed by Chris Wanstrath at 3:11 PM
rdoc changes http://plugins.require... was committed by Chris Wanstrath at 2:33 PM
88 sake broken w/ ruby2ruby 1.1.7 was updated
  • Chris Wanstrath
    • State changed from new to resolved
    by Chris Wanstrath at 9:47 AM

    Thanks for letting me know, I updated Sake to lock to PT 2.0.1 and r2r 1.1.7. Sake 1.0.10 has been pushed to the gemservers.

    http://projects.require.errthebl...

  • Jesse Newland
    Jesse Newland created the ticket at 7:16 AM

    ruby2ruby 1.1.7 was released today. It's use of UnifiedRuby, which isn't in ParseTree 1.7.1 (required by sake), breaks sake. Looks like you could either fix th...

Monday, August 20 2007
86 Will_paginate kills YAML fixtures with ERB was updated
  • Mislav
    • Title changed from Will_paginate Problem with yaml and erb to Will_paginate kills YAML fixtures with ERB
    by Mislav at 10:08 AM

    This sounds crazy. Can you definitely confirm this is the plugin's fault? Can you tell me what other plugins you have installed, and what version of Rails are ...

  • Steve
    Steve commented at 8:27 AM

    Chris, I run them as the load_fixture task. i.e. rake db:fixtures:load FIXTURES=fixture1.yml

Sunday, August 19 2007
84 Having problems was updated
  • Zach Inglis
    Zach Inglis commented at 12:23 AM

    Thanks. That fixed it nicely.

    As for error messages, Maybe :p

Saturday, August 18 2007
84 Having problems was updated
83 Page Count Can Be wrong was updated
  • Chris Wanstrath
    • State changed from open to resolved
    by Chris Wanstrath at 12:03 PM

    (from [328]) Will Paginate: fix count queries when conditions are used in combination with dynamic finders. Thanks, David Richards. [#83 state:resolved]

    htt...

  • David Richards
    David Richards commented at 10:35 AM

    I'm really interested in seeing how this gets fixed, I looked thru the code for over an hour and I could not find out exactly what needed to happen, I got clos...

Will Paginate: fix count queries when... was committed by Chris Wanstrath at 12:03 PM
Friday, August 17 2007
78 paginate_by_sql should be able to do its own counting was updated
will_paginate: paginate_by_sql can do... was committed by Chris Wanstrath at 8:11 PM
70 using with scope_out was updated
will_paginate: add in support for the... was committed by Chris Wanstrath at 8:04 PM
86 Will_paginate Problem with yaml and erb was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    by Chris Wanstrath at 7:45 PM
  • Chris Wanstrath
    • State changed from new to open
    by Chris Wanstrath at 7:27 PM

    How did you "run a fixture?" Let us know the commands you used to hit this error and we can investigate. Thanks.

  • Steve
    Steve created the ticket at 3:19 PM

    After installing your plugin (will_paginate) I then tried to run a fixture that had Erb contained in it. It died hard and gave me a warning to use spaced inste...

82 XFN bug on rel attribute was updated
72 [patch] ssl support for nginx config generator was updated
87 [PATCH] Add support for setting cache_id and convience option :find_by was updated
  • Chris Wanstrath
    Chris Wanstrath commented at 7:19 PM

    Awesome, applied.

    Just a test/spec note. Instead of:

    Story.cache_options.include?(:pengiuns).should.equal true
    

    you can just do

    Story.cache_options.should...
  • Chris Wanstrath
    • State changed from new to resolved
    by Chris Wanstrath at 7:19 PM

    (from [325]) - Add support for setting cache_id and convience option :find_by [Elijah Miller] [#87 state:resolved]

    http://plugins.require.errtheblo...

  • Elijah Miller
    Elijah Miller created the ticket at 7:07 PM

    Allows cache_fu to use something other than .id for the "id" of a cached model. This is accessible through your own cache_id method or doing "acts_as_cached :i...

- Add support for setting cache_id an... was committed by Chris Wanstrath at 7:19 PM
84 Having problems was updated
85 failures linked to association extensions was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Chris Wanstrath at 1:18 PM
Thursday, August 16 2007
85 failures linked to association extensions was updated
  • Stet
    Stet created the ticket at 6:44 PM

    (Apologies if I've duped this -- I'm having trouble creating a ticket in Lighthouse)

    I'm using an association extension in one of my models, to help with a pe...