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)

Tuesday, November 13 2007
cache_fu: get fragment caching workin... was committed by Chris Wanstrath at 2:59 PM
152 Fix fragment caching on Edge was updated
  • Chris Wanstrath
    • State changed from hold to resolved
    by Chris Wanstrath at 2:59 PM

    (from [419]) cache_fu: get fragment caching working, add multi_rails [Jesse Newland] [#152 state:resolved]

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

  • Jesse Newland
    Jesse Newland commented at 2:51 PM

    Thanks for the hint on multi_rails. Here's a patch that refactors the test framework to use that, adds a test_with_125 rake task, and fixes the errors you ment...

  • Chris Wanstrath
    • State changed from open to hold
    by Chris Wanstrath at 2:14 PM
  • Chris Wanstrath
    Chris Wanstrath commented at 2:11 PM

    First it fails by not having Hash#except or Hash#slice. So I add those in, then it fails with this: http://pastie.caboo.se/117570

    Rails 1.2.5

117 Illegal MySQL in #to_sql and #to_hash was updated
  • Chris Wanstrath
    • State changed from open to hold
    by Chris Wanstrath at 2:14 PM

    We're rolling a new gem soon, which may fix the problem... stay tuned...

cache_fu: allow sessions to be stored... was committed by Chris Wanstrath at 2:13 PM
143 [PATCH] Allow sessions to be stored on a different MemCache server was updated
cache_fu: make skip_cache_gets work f... was committed by Chris Wanstrath at 2:08 PM
155 [PATCH] Make skip_cache_gets work for fragment caches was updated
Monday, November 12 2007
152 Fix fragment caching on Edge was updated
154 [PATCH] Improvements including custom link rendering was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Chris Wanstrath at 12:16 PM
155 [PATCH] Make skip_cache_gets work for fragment caches was updated
  • Chris Wanstrath
    • State changed from new to open
    by Chris Wanstrath at 12:16 PM
  • Bryan Helmkamp
    Bryan Helmkamp created the ticket at 11:01 AM

    As promised at RubyConf, here is a quick patch to make fragment caching respect the skip_cache_gets option.

    Let me know if you have any questions.

    -Bryan Hel...

153 Auto_migrations does not like :timestamp was updated
Saturday, November 10 2007
fix for working with the awesome for... was committed by Chris Wanstrath at 4:58 PM
Friday, November 09 2007
150 :select broken with will_paginate was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Chris Wanstrath at 5:59 PM
149 Problem with using complex joins was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Chris Wanstrath at 5:59 PM
148 Allow filtering of what params get serialized was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Chris Wanstrath at 5:58 PM
151 auto_migrations does not accept the name and unique options was updated
  • PJ Hyett
    • State changed from open to resolved
    by PJ Hyett at 10:12 AM

    patch applied, thanks for making AM better.

  • toulmean
    toulmean commented at 2:53 AM

    Attached a patch. It works for me.

[AutoMigrations] fix for add_index op... was committed by Chris Wanstrath at 10:10 AM
153 Auto_migrations does not like :timestamp was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to PJ Hyett
    • State changed from new to open
    by Chris Wanstrath at 8:54 AM
  • toulmean
    toulmean commented at 2:21 AM

    Forgot to tag as auto_migrations.

  • toulmean
    toulmean created the ticket at 2:20 AM

    Fields defined as :timestamp do not live well with db:auto:migrate.

    They are compared to the database, which presents the field as datetime.

    Rails converts t...

152 Fix fragment caching on Edge was updated
  • Jesse Newland
    Jesse Newland commented at 4:34 AM

    Alright, here's a better patch. The last one was clouded by the tequila in my system and the in-laws yammering on about god knows what in the next room at the ...

Thursday, November 08 2007
146 how to get the right count when using will_paginate and attachment_fu? was updated
  • RainChen
    RainChen commented at 11:00 PM

    I think your suggestion is my solution which I posted here.

    But I find that the best solution may be the has_finder plugin. I will try it.

152 Fix fragment caching on Edge was updated
  • Jesse Newland
    Jesse Newland created the ticket at 6:59 PM

    The fragment caching tests were failing on Edge because of the eagerness of extract_options!, which was introduced in [323]. Edge-only tests pass, and run only...

151 auto_migrations does not accept the name and unique options was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to PJ Hyett
    • State changed from new to open
    by Chris Wanstrath at 3:12 PM
  • toulmean
    toulmean commented at 3:08 PM

    From my investigations, it looks like line 107 of the auto_migrations file is failing.

    I will provide a fix for this tomorrow, unless someone feels up to the ...

  • toulmean
    toulmean created the ticket at 3:06 PM

    This instruction:

    add_index "us_hits", ["user_id", "operatingsystem_id", "jdk_id", "product_id", "version_id", "nl_id"], :name => "user_id"

    is failing, the n...

150 :select broken with will_paginate was updated
  • darix
    darix created the ticket at 1:42 PM
    @users = User.paginate :page => params[:page], :order => 'login', :per_page => 30 , :select => 'login, fullname'
    

    gives you the following SQL error.

    Mysql::Er...
129 will_paginate should make sure that the page param is an integer was updated
  • darix
    darix commented at 1:30 PM

    i wanted to fix the code in the first comment. but the lighthouse application is eating the ruby code. no matter whether i used

  • darix
    darix commented at 1:27 PM

    just as an example: lets say you add suppor for "page=last"/"page=first" at some point. external validation would break the usage of that feature.

    if the vali...

  • darix
    darix commented at 1:10 PM

    how can it be invalid?

    your plugin should never produce invalid SQL statements imho. and evil users might try to break the application with injecting invalid ...

149 Problem with using complex joins was updated
  • BrianTheCoder
    BrianTheCoder created the ticket at 4:54 AM

    So I'm including some code from beast. On the post controller there's code using the paginate helper. Here's the code, or at least the relevant part.

    @@query_...

Tuesday, November 06 2007
148 Allow filtering of what params get serialized was updated
  • wkonkel (at gmail)
    wkonkel (at gmail) created the ticket at 6:14 PM

    When developing facebook apps, facebook passes lots of fb_* parameters in each request which shouldn't be included in the previous/next/page number links. A q...

147 RFE: More html formatting control was updated
  • Chris Wanstrath
    • Assigned user changed from Chris Wanstrath to Mislav
    • State changed from new to open
    by Chris Wanstrath at 12:44 PM
Monday, November 05 2007
147 More html formatting control was updated
  • Rob Dupuis
    Rob Dupuis created the ticket at 5:14 AM

    I wanted to render pagination as a ul and change a number of classes, this required hacking stuff in a number of places.

    Not really sure what the right answer...

124 Change page_link_or_span api to take options was updated
  • Rob Dupuis
    Rob Dupuis commented at 5:03 AM

    Things have improved with recent versions. You can now override page_or_link_span and get hold of the @options, so I'd close this ticket. Thanks.

146 how to get the right count when using will_paginate and attachment_fu? was updated
  • Mislav
    • State changed from new to resolved
    by Mislav at 1:50 AM

    see my comments on #66

Sunday, November 04 2007
Will Paginate: minor optimization whe... was committed by Chris Wanstrath at 5:09 PM
[Zoned] slight change to the API htt... was committed by Chris Wanstrath at 7:48 AM
Friday, November 02 2007
146 how to get the right count when using will_paginate and attachment_fu? was updated
  • RainChen
    RainChen created the ticket at 3:33 AM
Monday, October 29 2007
135 updated_at value isn't set properly was updated
  • Chris Wanstrath
    • State changed from new to hold
    by Chris Wanstrath at 1:04 PM

    Right now you can accomplish this with Model.record_timestamps = false. Maybe I should add a :timestamps => false option to the scenario method? What do you ...

140 cache_fu does not pass all tests was updated
  • Chris Wanstrath
    • State changed from new to resolved
    by Chris Wanstrath at 1:01 PM

    Should be fixed in [410]. Thanks!

cache_fu: allow passing of options to... was committed by Chris Wanstrath at 1:00 PM
141 Allow setting options on cache_fu's #get_cache method was updated
cache_fu: fix fragment caching for ra... was committed by Chris Wanstrath at 12:35 PM
138 [PATCH] make fragment caching work with Rails 1.2.5 was updated