search for: test_include

Displaying 3 results from an estimated 3 matches for "test_include".

2006 Jul 23
0
[PATCH] (+tests) with_scope :order doesn''t work with included associations
...#39;'s the best way to submit patches while Trac is down?) with_scope doesn''t support :order in the presence of :include. For example: {{{ # We''re testing the interaction between :order, :include, and with_scope. TEST_ORDER = ''tickets.created_at DESC'' TEST_INCLUDE = [''owner''] def test_find(opts1, opts2) Ticket.with_scope(:find => opts1) do Ticket.find(:all, opts2).map {|t| t.id } end end # In these examples, :order is respected. test_find({ :order => TEST_ORDER }, {}) test_find({}, { :include => TEST_INCLUDE, :order =&g...
2002 Aug 24
0
selecting files from different subdirectories
...is exactly the three lines above. This works but the problem is that on the directory save/mozilla/ on the server also the other directories (Cache, chrome, etc.) are created (although they are empty). After reading some past postings I tried with this solution rsync -e ssh -avz --include-from=test_includes . foo@my.remote.server:save/mozilla/ where test_includes is the following file + /bookmarks.html + /abook.mab + /ImapMail/my.remote.server/rules.dat - /* but now only the files bookmarks.html and abook.mab are copied. I thought that complete paths can be specified, am I wrong? Basically I...
2006 Jan 18
0
R Wiki and R-sig-wikii
...ent the proposed structure as a "proof-of-concept". Another topic is about how to allow discussion on the R documentation in the Wiki. This topic was fed by Frank Harrell Jr, Gabor Grothendieck and others and it leads to a trial on: http://www.sciviews.org/_rgui/wiki/doku.php?id=varia:test_include. Basically, all CRAN and Bioconductor .Rd files would be converted automatically to read-only Wiki pages (regularly updated) that are themselves included in fully editables "discussion" pages. A link to latest svn versions of .Rd files for base packages was also suggested. Finally,...