On Wed, Feb 06, 2008 at 01:14:22PM +, Carl Franks wrote:
On 06/02/2008, Matt S Trout [EMAIL PROTECTED] wrote:
On Wed, Feb 06, 2008 at 10:34:09AM +, Carl Franks wrote:
Here's a minor patch to address an issue that I found a solution for
in the list archives, but couldn't find
On Thu, Jan 31, 2008 at 04:01:27PM +0530, Rajesh Pethe wrote:
Matt S Trout wrote:
On Wed, Jan 30, 2008 at 09:31:27PM +0530, Rajesh Pethe wrote:
I have also faced this problem with newer version of DBIx (0.08008).
Old version works fine.
Then provide us with enough information
On Thu, Jan 31, 2008 at 11:09:19AM +0100, Zbigniew Lukasiak wrote:
On Jan 31, 2008 10:39 AM, Matt S Trout [EMAIL PROTECTED] wrote:
On Wed, Jan 30, 2008 at 07:57:02PM +0100, Zbigniew Lukasiak wrote:
Hi Matt,
You are a mystery to me - but I'll try to comply and interleave my
comments
it shouldn't make any difference at all.
Time to get digging, either there's something odd in your codebase or
in ours.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd
effort on
your part would have avoided all of this and we'd already be putting a dev
release out with the fruit of your efforts in it :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst
On Thu, Jan 31, 2008 at 11:09:19AM +0100, Zbigniew Lukasiak wrote:
On Jan 31, 2008 10:39 AM, Matt S Trout [EMAIL PROTECTED] wrote:
On Wed, Jan 30, 2008 at 07:57:02PM +0100, Zbigniew Lukasiak wrote:
Hi Matt,
You are a mystery to me - but I'll try to comply and interleave my
comments
On Mon, Jan 28, 2008 at 05:19:22PM +0100, Zbigniew Lukasiak wrote:
On Jan 28, 2008 4:43 PM, Matt S Trout [EMAIL PROTECTED] wrote:
And this time reply to the original message as requested.
I think
But evidently you don't read.
I've asked you politely several times now.
I've now had enough
with no
details at all about it.
How are we supposed to fix it if you won't tell us anything even when I
ask you for more info?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd
have participated in the threads that discussed
SQL::Abstract refactoring to make this sort of feature possible.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd
On Sat, Jan 26, 2008 at 07:35:08PM -0800, Darren Duncan wrote:
Under my proposal, saying foo != 3 would return foo that are NULL,
because they are not 3.
If you're going to have something that behaves like that, please don't call
it NULL.
--
Matt S Trout Need help with your
On Fri, Jan 25, 2008 at 05:10:07PM +0100, Zbigniew Lukasiak wrote:
On Jan 25, 2008 2:30 PM, Matt S Trout [EMAIL PROTECTED] wrote:
On Fri, Jan 25, 2008 at 12:24:27PM +0100, Zbigniew Lukasiak wrote:
Let me sidestep that a bit
No, I won't let you.
I spent an hour discussing with people
to do it?
Given we have no idea what Foorum::XUtils is, no idea.
Personally I'd be a bit wary of anything that starts making per-schema
things global though ...
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp
/group/[EMAIL PROTECTED]
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com
pass the
column. This works perfectly and is orthogonal to your proposed find changes.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development
You just replied as HTML only, thus making your posting unreadable to anybody
who uses a plain text mail reader.
Please fix your mail client.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk
On Mon, Jan 14, 2008 at 01:53:13PM -0800, Darren Duncan wrote:
At 7:49 AM + 1/14/08, Matt S Trout wrote:
Uint function square (Int topic) {
Int.power (topic, Int 2);
}
That's terse. Yours is not. So far as I can tell mine is pretty much
equivalent. With a bit of perl optree parsing
restrict_with_object (provided by
DBIx::Class::Schema::RestrictWithObject) to impose a security context.
Same basic principle though.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd
parsing (and Devel::Declare) you
could perl-host this as
Uint function square (Int $topic) {
Int-power($topic, Int 2);
};
which isn't quite as elegant but is definitely parseable :)
Food for thought, anyway.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project
to storage and
you can grab 'em there and act appropriately.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform
of me wants to declare 'perl is broken, not my
problem' with a side of 'but everything else with = @_ is broken too',
but since this has to do with oodles and oodles of accessors, and not
knowing when 5.10.1 will hit the street, it should help out for now.
Agreed on all counts.
--
Matt S
. Am I missing something for
this type of setup?
Search for something like Apache::DBI being loaded and unload it. That's
often a source of problems.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp
params.
Don't reply to an existing message to start a new thread, your mail will
get lost.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development
On Mon, Nov 12, 2007 at 01:52:39PM -0500, Nathan Gray wrote:
On Mon, Nov 12, 2007 at 06:28:14PM +, Matt S Trout wrote:
On Mon, Nov 12, 2007 at 09:37:03AM -0500, Nathan Gray wrote:
I wanted to use something like DBICTest or DBIC::Test for testing my
models. I did not find them
at all and just use HashRefInflator so
@rs will contain { sysdate = $systdate, initcap = $initcap } in each
element.
Both seem simpler to me than adding+removing columns on the fly inside
get_column ...
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical
http://www.socallinuxexpo.org/blog/2007/11/08/calling-all-free-open-source-projects/
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development
On Sat, Nov 03, 2007 at 10:00:51PM +0530, jagdish eashwar wrote:
Hi,
I've googled all over, but I haven't been able to find a way of getting the
mysql current_date into a scalar using DBIx::Class. Please show me how it
can be done.
Why aren't you just using DateTime-now ?
--
Matt S
On Wed, Oct 31, 2007 at 11:33:12AM +, Jonas Alves wrote:
On 31/10/2007, Matt S Trout [EMAIL PROTECTED] wrote:
On Tue, Oct 30, 2007 at 03:15:03PM +, Jonas Alves wrote:
On 30/10/2007, Jonathan Rockway [EMAIL PROTECTED] wrote:
Jonas Alves wrote:
Hi,
I want my dbic
haven't yet got commit bits to that you'd want them.
I shall now go back to hating databases for a bit.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want
idea.
But I suspect most of them probably are.
And there's several that I said would exist in 07 that nobody's got to
yet. The advantage of not having a marketing check-list is we can dump
scope to shorten timescales when necessary.
--
Matt S Trout Need help with your Catalyst or DBIx
.
It is. But it's also a completely different problem, and one that's much
harder to solve - I hope to find a way to allow DBIC to instrospect on
the query tree sufficiently to handle this case intelligently as part of
our refactor of SQL::Abstract - interested in helping?
--
Matt S Trout
my extensions and with that
get the ResultSet methods for free.
I think the idea of his approach was your common class would generate the
resultset_class invocation.
That's exactly how resultset plugins are going to work once DBIC goes
Moose.
--
Matt S Trout Need help with your
also
referred to as /dev/null on the grounds it must be spam.
I only don't because I'm the list admin so I have to be able to spot it so
I can warn you your mail client's misconfigured :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director
) into a file.
If it's 10k+ rows it's probably pure object inflation overhead.
Why not use the HashRefInflator cookbook entry to bypass that?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst
to 09/branches/savepoints. All three of those DBs
already have optional tests.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development
On Fri, Oct 19, 2007 at 05:23:22PM +0930, Jon Schutz wrote:
I think it's your honours to put the patch together, if you're willing to.
I was afraid you might say that.
Somebody apply this, please (unless your audit spots a mistake I missed)
--
Matt S Trout Need help
the problem but you should
only ever use AutoCommit 0 with DBIx::Class if the $dbh needs to be shared
with legacy code that requires it; there is no reason whatsoever to do so
otherwise, DBIC's transaction primitives are both more effective and more
robust)
--
Matt S Trout Need help
-primary_columns),
@args
);
});
$self-discard_changes; # re-selects all columns
}
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development
('');
$schema-storage-sql_maker-name_sep('.');
This works fine until a search needs to be ordered descending; passing
order_by='name DESC' results in:
\'name DESC'
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp
with
perl-5.8.8-10.
Would you concur that in that case this doesn't justify modifying DBIx::Class'
code to compensate?
Do you reckon a warning or just a note in the documentation is in order to
warn people using broken RH perls to compile their own for best performance?
--
Matt S Trout
On Fri, Oct 19, 2007 at 09:21:08AM +0930, Jon Schutz wrote:
On Thu, 2007-10-18 at 19:38 +0100, Matt S Trout wrote:
On Thu, Oct 18, 2007 at 03:03:24PM +0930, Jon Schutz wrote:
According to the bug report above, the problem should be fixed in RPM
perl-5.8.8-22 and later, so I compiled
, the
ODBC storage already reblesses based on the db type so if you can find the
right name to create your class as it should all Just Work.
I'd be delighted to get you a commit bit so we can maintain this in mainline
DBIC if you're willing?
--
Matt S Trout Need help with your Catalyst
this same and let me its know whether its working.
Please only mail the list once.
And no, that isn't going to work (should do in 09, but there's no ETA for
that yet).
Go back and figure out what's wrong with your DB design that made you need
distinct in the first place.
--
Matt S Trout
without
seeing what's actually going on ...
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http
-
__PACKAGE__-load_components(qw(+My::Locking::Component Core));
Oh, and please keep project-internal modules in a project internal namespace
- if it's in DBIx::Class::* it should be something you got from CPAN (and
preferably something CPAN got from the DBIx::Class repo :)
--
Matt S Trout
',
is_auto_increment = 1,
},
);
Works for me flawless since dbic 0.05 or so...
plu's patch has DBIC do the sequence fetch instead of the DB doing it via
a trigger.
Different thing.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical
On Thu, Oct 04, 2007 at 10:16:41AM +0200, Bernhard Weisshuhn wrote:
On Wed, Oct 03, 2007 at 11:51:05PM +0100, Matt S Trout [EMAIL PROTECTED]
wrote:
On Wed, Oct 03, 2007 at 06:17:54PM +0200, Bernhard Weisshuhn wrote:
[...]
SELECT
translatedwords.translatedword
FROM
methods on the fly is inefficient and can cause subtle bugs.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http
;
$new-workflow($workflow);
}
It would help if you actually returned $new at the end of the method ...
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want
= userwords.englishword
)
WHERE
userwords.user='someuser';
Just move on or other of the two cond in the second join into the WHERE clause.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst
one has_many at the same level currently;
known issue and we're working on it.
What's confusing me more is that you didn't just get an exception, but either
way the answer is I'm really sorry but that doesn't work just yet, we'll
get to it as soon as we can.
--
Matt S Trout Need help
this before - which may mean that it's
something that I'm doing wrong :-)
No, that's a bug.
I guess compose_namespace should look for classes its composing in the
inheritance tree and swap 'em for the composed version.
Anybody up for having a go at a test+patch?
--
Matt S Trout
On Fri, Sep 21, 2007 at 09:20:16AM +1000, brett gardner wrote:
Matt S Trout wrote:
On Thu, Sep 20, 2007 at 08:43:20AM +0100, Ash Berlin wrote:
brett gardner wrote:
I think I have found a bug with search_literal. If you get a resultset
that came from a search_literal, and try
aliases.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/http
On Mon, Sep 24, 2007 at 10:06:01AM +1000, brett gardner wrote:
Matt S Trout wrote:
On Mon, Sep 24, 2007 at 09:04:51AM +1000, brett gardner wrote:
Well
Is there anyway to do the following.
I have a Respondent record, which has a one to many relationship with
Answer records.
I want
the next one is tougher?
I've done pretty much exactly this one before except a multi-parent DAG.
So no, it's not so bad :)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp://www.shadowcat.co.uk/catalyst/
Shadowcat
please whip up a patch that gives us a
failing test case?
Plus a doc patch saying this only exists for Class::DBI compatibility, do
-not- use in normal DBIx::Class code.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Directorhttp
$data-_source_handle-schema($schema);
Not pretty, but this works at least.
$data-result_source($schema-source('User'));
just like it's always been since before ResultSourceHandle existed.
Never call an _ prefix method from outside the object or a subclass thereof.
--
Matt S Trout
and remove_from_foos
methods for has_many as well as many_many and trying to get them to share
common code. They are after all both resultset-based.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical DirectorWant a managed development or deployment
On Thu, Sep 06, 2007 at 01:26:29AM +0200, A. Pagaltzis wrote:
* Matt S Trout [EMAIL PROTECTED] [2007-09-05 21:11]:
What justification is there for re-inventing SQL::Abstract and
SQL::Translator rather than sending patches?
Is it forseeable that SQLA will ever be capable of expressing any
list for
hosting this thread.
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/orm
Dead. All talk and no code, which is why I moved back here.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical DirectorWant a managed development
take point on the commits if you're willing;
once you're happy it's working for you we'll get it into a release.
Sound good?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical DirectorWant a managed development or deployment platform?
Shadowcat
to fix the outstanding bugs with it (notably subclassing
not working right) so I expect to deprecate this for 09 and remove it for 1.0
unless somebody makes the effort.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical DirectorWant a managed
On Sat, Aug 11, 2007 at 08:48:13PM +0100, Paul Makepeace wrote:
On 8/8/07, Matt S Trout [EMAIL PROTECTED] wrote:
On Tue, Aug 07, 2007 at 11:30:06PM +0100, Paul Makepeace wrote:
I had a look in various places (cookbook, faq, ::resultset) and
couldn't find whether there's a way to see
On Sun, Aug 12, 2007 at 04:21:06PM +0100, Paul Makepeace wrote:
On 8/12/07, Matt S Trout [EMAIL PROTECTED] wrote:
On Sat, Aug 11, 2007 at 08:48:13PM +0100, Paul Makepeace wrote:
On 8/8/07, Matt S Trout [EMAIL PROTECTED] wrote:
On Tue, Aug 07, 2007 at 11:30:06PM +0100, Paul Makepeace
documented to work, you've been relying on an unreported
bug.
$results is already the page if you supply it as an attr, just use -all
Better still, don't supply it as an attr and use -page($page)
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director
converting the datatype.
(Changing the datatype isn't an option, something to do with MSAccess.)
If you bound it as the appropriate type, would it work?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical DirectorWant a managed development or deployment
301 - 366 of 366 matches
Mail list logo