Displaying 20 results from an estimated 140 matches similar to: "Database custom formatter"
2012 Oct 23
10
How to pick colums from a ragged array?
I have a large dataset (~1 million rows) of three variables: ID (patient's name), DATE (of appointment) and DIAGNOSIS (given on that date).
Patients may have been assigned more than one diagnosis at any one appointment - leading to two rows, same ID and DATE but different DIAGNOSIS.
The diagnoses may change between appointments.
I want to subset the data in two ways:
- define groups
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like
rails server Could not find pg-0.12.2 in any of the sources
Run `bundle install` to install missing gems.
I dont know what to do
Thanks for all the help
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run
this:
SELECT "schema_migrations"."version" FROM "schema_migrations"
vs this ?
SELECT `schema_migrations`.`version` FROM `schema_migrations`
__ rake db:migrate output __
rake aborted!
Mysql::Error: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version
2011 Jul 25
1
rspec and Lion?
Hey,
Has anyone used rspec and lion much yet?
I''m using the Fuubar instafail formatter, and finding that the entire
output of the spec run is buffered till the script execution stops, at
which point it''s displayed. Not sure why - it may be a failure/feature
of the new Terminal.app ?
Wondered if anyone had seen this?
thanks,
James
2010 Dec 02
1
Metadata about formatter being used accessible in spec?
Is it possible to read which formatter is being used? For instance if -
f d is used to output additional information or is there a better way
to do that?
2011 Sep 13
12
Assertions for asynchronous behaviour
Hi all,
In GOOS[1] they use an assertion called assertEventually which samples the system for a success state until a certain timeout has elapsed. This allows you to synchronise the tests with asynchronous code.
Do we have an equivalent of that in the Ruby / RSpec world already? I know capybara has wait_until { } but that''s fairly rudimentary - the failure message isn''t very
2007 Dec 09
1
Story HTML Formatter
I recently noticed the HTML formatter for the story runner, but I''m
unable to figure out how to make it function.
''ruby stories/all.rb --format html'' seems like it should work, in that
--help works as expected, but I still get only plain text output.
Maybe it''s not been wired up yet and/or this is a bug. Maybe I''m just
being dumb. I have no clue at
2011 Dec 14
0
Custom Formatter Namespace
Is there a proper naming scheme for custom formatters?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20111213/59572c22/attachment-0001.html>
2006 Feb 15
1
need a R-code formatter?
Hi all,
I am using Tin-R as my editor; I use it because it allows me to send several
selected lines to R-console and execute them...
In some sense, this is my line-by-line debugger.
But it doesn't have a code formatter, I have to layout the indention myself
-- when there are many { } blocks with different layers, this editor does
not help me beautify the code...
I am looking for some
2013 Dec 02
0
doveadm table formatter: hidden titles may cause misaligned headers
Hello,
I recently noticed a small bug in the doveadm table formatter: hidden titles may cause the headers to be misaligned.
The behavior in question was introduced by commit <http://hg.dovecot.org/dovecot-2.2/rev/210282ae46e1> and
doveadm -f table quota get -A
may be used to reproduce it.
Most simple patch attached: it simply restores the old behavior, to some extent.
Actually hiding
2014 Jul 28
0
doveadm json formatter
Any thoughts to adding a json formatter to the doveadm output?
2008 Dec 09
3
a custom progress bar formatter
I''ve always been a little bit bemused by the default ruby test/unit and
rspec output. Basically, what I want is a progress bar and that any
errors and warnings be displayed immediately. I also want warnings to be
printed for slow specs. When using color, I want the entire progress bar
printed in green if everything is good, yellow if there has been a
warning, and red if there has been an
2008 Jun 12
4
after :each invoked before formatter?
Hello.
I''m using RSpec with Watir to do some automated tests on IE.
I''ve ran into problem, where I want to make a screenshot of a browser window
when example fails. For that I made custom formatter where in
extra_failure_content i''m invoking screenshot taking methods. Now,
everything works like a charm, as long as I''m not using after :each. I
remember that I
2019 May 04
4
[PATCH] configure.ac: Add mandoc as valid formatter
Hi,
On systems that have mandoc installed but are missing an nroff binary,
the configure script will fall back to pre-formatted manual pages
despite the fact that mandoc could be used.
The proposed patch adds mandoc as a valid formatter to configure.ac. As
mandoc supports the -mdoc flag, it can simply be added to the list of
nroff-like binaries.
Wolfgang
-------------- next part --------------
2009 Feb 13
2
[cucumber][v0.2alpha]Where could I find API docs for custom formatters?
Hi,
I''m working on update my local Cucumber to the latest version. But it seems
the old formatter APIs(step_failed, scenario_executed, etc.) don''t work any
more. Are there some documents or even Cucumber source code I can refer to?
Thanks in advance,
Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Apr 04
5
Simple code dosn't work
I think you have a syntactical error on the line thats throwing the
error, you state:
> j.even?should be true #throws an error on j == 2, j == 4
should this line not read as:
j.even?.should be true
--
Posted via http://www.ruby-forum.com/.
2007 Sep 09
11
Going beyond the default html formatter/report?
Hi!
I wonder does anybody planning to go beyond the default html formatter/report?
The current html report is nice and green but what about to go a
little silly and enable also user input. For example to let customer
to add a new pending spec, comments etc. I feel it might be mentally
easier for some customers to jump into spec world when it is possible
to give input at "the same
2009 Feb 12
0
Patch to handle MapQuest icon size and icon anchor parameters
This is a patch we had to implement to use custom icons in mapquest. We
needed to use a custom icon size and offset, so I added a small bit of
code to handle this. We use MapQuest API v5.3. That may make this not
work in all cases, I know the icon stuff changed somewhat between 5.2&5.3.
To make work on MapQuests 5.2 API, I *think* would only take the
following conversions.
1) MapIcon
2013 Mar 20
0
Passing variables to custom formatters
Guys,
I observing old mail
http://rubyforge.org/pipermail/rspec-users/2010-March/016638.html
and from it I understood that options hash is more side effect then
proper way for passing variable from spec to formatter.
So is there any official and supported way for doing that ?
Thanks a lot in advance,
Yury
2016 Apr 14
1
[PATCH supermin] ext2: fix printf formatters
Use the right formatting placeholders, so it gives no warnings also on
32bit platforms.
---
src/ext2fs-c.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/ext2fs-c.c b/src/ext2fs-c.c
index e45980a..cb9282b 100644
--- a/src/ext2fs-c.c
+++ b/src/ext2fs-c.c
@@ -31,6 +31,7 @@
#include <limits.h>
#include <errno.h>
#include <assert.h>
+#include