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 13 2010
22 let's use 'couchrest_type' was updated
  • CodeMonkeyKevin
    • Milestone order changed from 0 to 0
    by CodeMonkeyKevin at 7:52 PM

    +1 for James patch as couchrest_type is so odd when in multi-lang env. If not at lease _doc_type will do fine.

29 one socket opened per send was updated
  • CodeMonkeyKevin
    • Milestone order changed from 0 to 0
    by CodeMonkeyKevin at 7:43 PM

    You wouldn't want to do this without some sort of thread queue or thread management as under heavy loads the ruby vm will not hold up with N# of Threads spawned...

Wednesday, January 13 2010
“Moving to Github Tracker” was edited by J. Chris A. in CouchRest
Monday, October 19 2009
42 Bulk save of extended docs with timestamps! does not save created_at or updat... was updated
  • Marcos Tapajós
    Marcos Tapajós commented at 10:47 AM

    Timestamp! is a feature of Couchrest::ExtendedDocument. Is is a method of that create two properties and setup some callbacks. Your problem is that you are usin...

  • Marcos Tapajós
    Marcos Tapajós created the ticket at 9:28 AM

    Reported by grempe on github

    When a model is created that extends Couchrest::ExtendedDocument and it has the 'timestamps!' property in the model it is expected ...

44 Extended::Document.save(true) is buggy was created
  • Marcos Tapajós
    Marcos Tapajós created the ticket at 9:31 AM

    Reported by mattetti on github

    Extended::Document#save_without_callbacks gets called every time I save
    that then calls database.save_doc
    which will return {"ok"...

43 CouchRest::ExtendedDocument provides incorrect document URIs was created
  • Marcos Tapajós
    Marcos Tapajós created the ticket at 9:28 AM

    Reported by samlown on github

    CouchRest::ExtendedDocument (/core/document.rb) incorrectly adds "http://" to the database root. I've committed a patch with tests...

Wednesday, October 14 2009
20 delete obsolete views was updated
  • Francisco Viramontes
    Francisco Viramontes commented at 10:04 PM

    I have tried using this function but it does not work :(

    It does not fail but does not delete obsolete views

Thursday, October 08 2009
41 Some streamer fixes was created
  • Julien Sanchez
    Julien Sanchez created the ticket at 5:08 AM

    Some fixes I hope useful and correct:
    * url must be quoted inside the curl command otherwise '&' between params are interpreted by shells * View url format upda...

Monday, October 05 2009
37 save! returns nil on sucess, but should return true was updated
  • Marcos Tapajós
    Marcos Tapajós commented at 5:50 PM

    You can close this ticket. Matt merged my code into official repository.

38 Line stopping all specs was updated
  • Marcos Tapajós
    Marcos Tapajós commented at 5:50 PM

    You can close this ticket. Matt merged my code into official repository.

39 Adding support to :cast_as => 'Date'. was updated
  • Marcos Tapajós
    Marcos Tapajós commented at 5:50 PM

    You can close this ticket. Matt merged my code into official repository.

Friday, September 18 2009
40 Useless funcs variable in design_doc_slug was created
  • Julien Sanchez
    Julien Sanchez created the ticket at 3:24 AM

    design_doc_slug in design_doc.rb
    Was previously used for MD5 digest of views

    From 13ccd18603a32c1801ccedd23e85e2e745717c4a Mon Sep 17 00:00:00 2001
    From: Julie...
Saturday, September 12 2009
39 Adding support to :cast_as => 'Date'. was updated
38 Line stopping all specs was updated
37 save! returns nil on sucess, but should return true was updated
Sunday, August 02 2009
36 Validate With Method not attaching error to optional field was created
  • ru_ghetto (at rubyghetto)
    ru_ghetto (at rubyghetto) created the ticket at 1:54 PM

    Given a model with the validation below, a produced error will be attached to the hash key :validate_username_unique instead of to :username.

    validates_with_met...

Sunday, May 31 2009
34 add support for continuous=true was created
  • patcito
    patcito created the ticket at 9:25 PM

    It would be nice to have support for continuous=true in couchrest.

Monday, May 25 2009
33 Typo in set_attachment_attr was created
  • Daniel Kirsch
    Daniel Kirsch created the ticket at 2:51 PM

    Should be content_type - is content-type.
    Every attachment created via create_attachment gehts application/octet-stream as content_type.
    Typo is also in the spe...

Friday, February 13 2009
32 Avoid unnecessary PUT requests was created
  • richmorin
    richmorin created the ticket at 9:41 AM

    CR generates a PUT request whenever an app starts up, if the app defines a view. This creates work for the database (and possibly, monitoring programs) which is...

Saturday, January 24 2009
26 views failing in trunk was updated
  • Nolan Darilek
    Nolan Darilek commented at 10:07 AM

    OK, this looks like a slightly different issue, so I think this one can stay closed. Please pull from my fork:

    git://github.com/thewordnerd/couchrest

    The reason...

Thursday, January 22 2009
26 views failing in trunk was updated
  • Nolan Darilek
    Nolan Darilek commented at 9:48 AM

    No, unfortunately this isn't working for me. It may be that view creation isn't interacting well with the bulk_save changes I introduced, which is what I'm usin...

Monday, January 19 2009
26 views failing in trunk was updated
  • J. Chris A.
    • State changed from new to resolved
    by J. Chris A. at 2:50 PM

    I applied this patch (although without reproducing the bug). I'll close this ticket, but please reopen if this patch doesn't fix it.

Tuesday, January 13 2009
26 views failing in trunk was updated
  • hkstar
    hkstar commented at 5:22 PM

    +1 for Max's patch, works for me too. Thanks Max!

  • Joe Martinez
    Joe Martinez commented at 2:21 PM

    +1 for Max's patch. Fixed my problem.

31 doc.create gone was created
  • hkstar
    hkstar created the ticket at 5:11 PM

    In latest gem, doc.create is gone! And the extlib hook removed.

    Is this a permanent thing? If so, before(:create) will need to be removed from the documentation...

Wednesday, December 31 2008
27 "save bug should fix" spec failing. was updated
  • J. Chris A.
    J. Chris A. commented at 2:50 PM

    thanks for the patch!

26 views failing in trunk was updated
  • Max Aller
    Max Aller commented at 9:57 AM

    To state the psuedo-obvious, I think what's happening is if the design doc isn't getting initialized correctly if it's not being created right there (within tha...

  • Nolan Darilek
    Nolan Darilek commented at 9:14 AM

    Unfortunately, this patch doesn't resolve the problem for me. See here for my use, though be aware that I'm using my own branch with compaction support and my ...

Tuesday, December 30 2008
29 one socket opened per send was updated
  • geir
    geir commented at 12:56 PM

    Sorry - formatting for code was bad. Code is here :

    http://friendpaste.com/2vnIZk6dA...

  • geir
    geir created the ticket at 12:25 PM

    It seems that couchrest opens one socket per send. The program :

    require 'couchrest'

    def save(n) couch = CouchRest.new("http://localhost:5984") db = couch.datab...

30 send() attempts to hit a _uuid table was created
  • geir
    geir created the ticket at 12:27 PM

    I'm a couch newbie, so forgive if a stupid question.

    With a simple program that just does a save() of a simple document, couchrest seems to want to get data fro...

Monday, December 29 2008
26 views failing in trunk was updated
  • Max Aller
    Max Aller commented at 9:24 PM

    K, my previous comment was wrong.

    Anyway, after about...3 hours, I've narrowed down one possible solution. See attached.

    Also I wish git made patches from the b...

22 let's use 'couchrest_type' was updated
  • Max Aller
    Max Aller commented at 7:35 PM

    +1 James' patch with the suggestion that there be only one method for assigning a new default custom field, to reduce clutter in the code. My vote is for the "s...

15 Method to Check if Database Exists was updated
  • Max Aller
    Max Aller commented at 7:24 PM

    If jchris feels like adding this functionality...it should be easy enough :) I've attached the code and the specs.

Sunday, December 28 2008
26 views failing in trunk was updated
  • Max Aller
    Max Aller commented at 10:26 PM

    I'd also like to second this bug. I think I've narrowed it down a tad bit more, though. At least in my testing, if I have "cast :blah, :as => 'OtherBlah'" in my...

22 let's use 'couchrest_type' was updated
  • James R. Bracy
    James R. Bracy commented at 9:51 PM

    Attached is a patch that makes the field is customizable, but it will default to couchrest_type. For example:

    
    class Example < CouchRest:Model
      set_inherita...
Tuesday, December 23 2008
28 set_default on new object copies hash from existing object was created
  • Justin D-Z
    Justin D-Z created the ticket at 9:07 AM

    I have a CouchRest Model object and use set_default to create an empty hash on the object when I create an instance. If I create an instance, I get the empty ha...

Thursday, December 18 2008
26 views failing in trunk was updated
  • Nolan Darilek
    Nolan Darilek commented at 12:16 PM

    I can not only confirm this, but I've seen a slightly different variation. I wonder if it isn't just happening the second time the same view is accessed, but th...

Wednesday, December 17 2008
27 "save bug should fix" spec failing. was created
  • Ray Morgan
    Ray Morgan created the ticket at 11:12 PM

    The spec "save bug should fix" is failing. This is due (I believe) to not setting CouchRest::Model.default_database in the scope of this spec.

    Here is my fix: ...

26 views failing in trunk was updated
  • Ray Morgan
    Ray Morgan commented at 12:36 PM

    I can confirm that this is happening. I will (hopefully have time to) write up a spec for it when I get home tonight.

Sunday, November 23 2008
19 option for before(:init) was updated
  • hkstar
    hkstar commented at 11:48 PM

    The current defaults system has a pretty nasty flaw. See demonstration here: http://friendpaste.com/a72JqDEY .. yup, the old referencing problem.

    The Class.defa...

22 let's use 'couchrest_type' was updated
  • hkstar
    hkstar commented at 5:45 PM

    Priit: I don't think it will be a problem using generic-sounding names, as long as you stay away from conflicting ruby keywords like class, type, object_id, etc...

26 views failing in trunk was created
  • hkstar
    hkstar created the ticket at 4:25 PM

    Hi there yet again,

    Views are failing in the current build of trunk. They can be accessed once, but when the model is loaded again, they fail. It's not caught b...

25 Ability to send explicit null as key? was updated
  • hkstar
    hkstar commented at 12:38 PM

    OK, cool, if that's the "official" way to do it. Thanks for the clarification.

20 delete obsolete views was updated
  • hkstar
    hkstar commented at 12:37 PM

    Cool. Many thanks!

  • J. Chris A.
    • State changed from new to resolved
    by J. Chris A. at 10:07 AM

    cleanup_design_docs! added