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)

Thursday, July 12 2007
34 cache_fu: make action caching stuff work with edge rails was updated
62 Tests not passing was updated
  • Chris Wanstrath
    • State changed from new to resolved
    by Chris Wanstrath at 11:30 PM

    Should be fixed in [292], let me know if not.

  • August Lilleaas
    August Lilleaas commented at 5:36 AM

    Oh, an update. I run the test directly as a ruby script, not through any rake tasks or what not.

  • August Lilleaas
    August Lilleaas created the ticket at 5:35 AM

    Having issues making the tests pass. When running the test, I get 11 faliures, because Gibberish.languages is just an empty array. If I set the RAILS_ROOT in t...

gibberish: dont use relative path for... was committed by Chris Wanstrath at 11:29 PM
gibberish: fix my bad spanish [Gustav... was committed by Chris Wanstrath at 11:29 PM
59 will_paginate doesn't play nicely with Geokit was updated
  • Chris Wanstrath
    Chris Wanstrath commented at 11:23 PM

    Did some hacking with Andre (of Geokit fame) tonight. Made commit [290] which may or may not fix your problem. I couldn't really reproduce it, but I was gett...

  • Chris Wanstrath
    Chris Wanstrath commented at 10:08 PM

    Okay, what's weird is the stack trace in http://railsforum.com/viewtopic.... doesn't touch acts_as_mappable. You can see method_missing line #105 calls count ...

56 will_paginate multiple collections was updated
  • Mislav
    Mislav commented at 5:20 PM

    Matt,

    I will commit as soon as I find time. I've decided to throw in more magic than simply apply the patch from Quinn (BTW, thanks man!)

  • Matt Aimonetti (mattetti)
    Matt Aimonetti (mattetti) commented at 9:38 AM

    Mislav, any news about this new feature implementation?

63 Setting ttl in config/memcached.yml has no effect was updated
  • Chris McGrath
    Chris McGrath created the ticket at 5:40 AM

    config/memcached.yml

    defaults:

    ttl: 3600

    readonly: false

    urlencode: false

    c_threshold: 10000

    compression: true

    debug: false

    namespace: app

    sessions: t...

Wednesday, July 11 2007
61 Single quotes in description spoil the sake was updated
60 paginate_by_sql throwing error was updated
  • Chris Wanstrath
    • State changed from new to open
    • Assigned user changed from Chris Wanstrath to Mislav
    by Chris Wanstrath at 9:42 AM
  • Mark Booth
    Mark Booth commented at 3:02 AM

    Probably should have mentioned that this is on Windows and using MS SQL as the database.

  • Mark Booth
    Mark Booth created the ticket at 2:57 AM

    Trying to use paginate_by_sql and am getting an error. I have followed the example in finder.rb and have put the following in my controller:

    def list
    @conta...
Tuesday, July 10 2007
59 will_paginate doesn't play nicely with Geokit was updated
  • Vince Wadhwani
    Vince Wadhwani commented at 7:16 PM

    Hi Mislav,

    Let me know if you need any more info from me. Thanks for looking into this!

    -Vince

  • Mislav
    Mislav commented at 6:15 AM

    Will Paginate should work even when the find method is messed with. I even have unit tests for this! I'll probably investigate using ruby-debug and test/consol...

Will Paginate: print ActiveRecord ver... was committed by Chris Wanstrath at 8:31 AM
port Hash#except from Rails trunk ht... was committed by Chris Wanstrath at 8:12 AM
Monday, July 09 2007
59 will_paginate doesn't play nicely with Geokit was updated
  • Chris Wanstrath
    • State changed from new to open
    • Assigned user changed from Chris Wanstrath to Mislav
    by Chris Wanstrath at 2:19 PM

    For the record, I think overriding #find is always a bad idea. I'll let Mislav make a decision on this, though.

  • Vince Wadhwani
    Vince Wadhwani created the ticket at 11:24 AM

    There's another plugin called geokit which extends Activerecord so you can do a find based on a point of origin and a distance around that origin. e.g. a Find...

58 [PATCH] fixture_scenarios_with_scenario_builder fixes was updated
  • Joe Noon
    Joe Noon commented at 1:48 PM

    Updated PATCH:

    http://pastie.caboo.se/77416

    I may just start my own branch from here since it seems like I am changing some core decisions in the code. Plea...

  • Joe Noon
    Joe Noon created the ticket at 4:07 AM

    There are a few issues with fixture_scenarios_with_scenario_builder:

    1. nested scenarios built in ruby can contain conflicting yaml labels

    2. yaml files begi...

Sunday, July 08 2007
54 ignoring order when paginating a has_many relation was updated
  • Stet
    Stet commented at 7:41 PM

    Sorry, I'd done cd vendor/plugins. The tests give one failure:

      1) Failure:
    test_paginate_associations(FinderTest)
        [./test/finder_test.rb:75:in `test_p...
Make sure clear_cache gets local_cach... was committed by Chris Wanstrath at 4:47 PM
Saturday, July 07 2007
54 ignoring order when paginating a has_many relation was updated
  • Mislav
    Mislav commented at 8:09 AM

    When I said "run rake", I meant that you run it in the plugin dir

    $ cd vendor/plugins/will_paginate
    $ rake
    
  • Stet
    Stet commented at 7:59 AM

    Erk, sorry, duff copy and paste there. The user model is this:

    class User < ActiveRecord::Base
      has_many :posts, :order=>'created_at DESC'
    
  • Stet
    Stet commented at 7:58 AM

    1. Yep, there's no ORDER clause:

    [0mSELECT * FROM posts LIMIT 0, 10[0m

    2. MySQL 5.0.27-standard

    3. The tests all pass, 1 test 1 assertion 0 failures 0 error...

  • Mislav
    • State changed from invalid to open
    by Mislav at 5:15 AM

    Can you please:

    • double-check that there is no ORDER clause in generated SQL (look at the development log)
    • tell me what database are you using
    • run "rake" fr...
Friday, July 06 2007
54 ignoring order when paginating a has_many relation was updated
  • Stet
    Stet commented at 9:59 PM

    I'm using revision 286, and see exactly this problem.

    Model has:

    has_many :posts, :order=>'created_at DESC'
    

    but

    @posts = current_user.posts.paginate :page...
56 will_paginate multiple collections was updated
Thursday, July 05 2007
Bond. James Bond. http://require.e... was committed by Chris Wanstrath at 7:54 PM
dont need this constant http://requ... was committed by Chris Wanstrath at 11:06 AM
53 cache_fu: Allow caching of nil was updated
Allow caching of nil [Lee Fyock] [#53... was committed by Chris Wanstrath at 11:01 AM
57 Will paginate breaks with :select and sum() was updated
  • Chris Wanstrath
    • State changed from new to open
    • Assigned user changed from Chris Wanstrath to Mislav
    by Chris Wanstrath at 9:46 AM
56 will_paginate multiple collections was updated
  • Mislav
    • Title changed from [enhancement][patch] will_paginate paginate multiple lists in the same page to will_paginate multiple collections
    • State changed from new to open
    by Mislav at 1:41 AM

    This has been on my roadmap for quite some time. I will make it happen!

Wednesday, July 04 2007
57 Will paginate breaks with :select and sum() was updated
  • Christian
    Christian created the ticket at 10:59 PM

    The following query results in a sql error. The problem seems to be a similar one like in #45, but the problem is actually the sum(), not the count().

    entries...
56 [enhancement][patch] will_paginate paginate multiple lists in the same page was updated
  • Matt Aimonetti
    • Title changed from [enhancement][patch] will_paginate paginate multiple list in same page to [enhancement][patch] will_paginate paginate multiple lists in the same page
    by Matt Aimonetti at 10:25 PM
  • Matt Aimonetti
    Matt Aimonetti created the ticket at 10:21 PM

    I recently faced an interesting problem. I wanted to use pagination on 2 different list items in the same page.

    Right now, changing the page for 1 list would...

51 Language isn't set. was updated
  • Chris Wanstrath
    • State changed from open to invalid
    by Chris Wanstrath at 12:25 PM

    I don't think there is any :lang_file_dir directive. Instead, Gibberish always looks in RAILS_ROOT/lang/*.yml for your language files. Feel free to submit a ...

  • Glenn Nilsson
    Glenn Nilsson commented at 2:48 AM

    Ok, I get an empty array back when trying:

    Gibberish.languages
    

    And in RAILS_ROOT/languages there's 2 language-files. de.yml and en.yml, and en.yml is copied...

54 ignoring order when paginating a has_many relation was updated
  • Mislav
    • Title changed from [will_paginate]ignoring order when paginating a has_many relation to ignoring order when paginating a has_many relation
    by Mislav at 2:50 AM

    I added additional tests for this, but they all passed. Did you have will_paginate on earlier revision than [278]? Please update to the latest revision and tes...

  • Chris Wanstrath
    • State changed from open to invalid
    by Chris Wanstrath at 2:42 AM

    (from [281]) Will Paginate: additional tests for habtm and has_many associations with options like :dependent or :order. [#54 state:invalid]

    http://require.er...

55 will_paginate raises exception for particular values was updated
Will Paginate: tweak the page rederin... was committed by Chris Wanstrath at 2:44 AM
Will Paginate: additional tests for h... was committed by Chris Wanstrath at 2:42 AM