On 1 March 2011 13:33, Peter Shangov wrote:
> Follow-up to my previous message:
>
> The problem is in line 426 in DBIC.pm (current version on github):
>
> $dbic->discard_changes unless( $dbic->$rel );
>
> DBIx::Class throws an exception on $dbic->$rel if the foreign key column for
> $rel is unde
Follow-up to my previous message:
The problem is in line 426 in DBIC.pm (current version on github):
$dbic->discard_changes unless( $dbic->$rel );
DBIx::Class throws an exception on $dbic->$rel if the foreign key column for
$rel is undefined, except where the foreign key column has the same n
Ascii King wrote:
list_hero.tt2
-
Name
Skills
[% FOREACH hero IN object -%]
[% hero.hero_name %]
[% FOREACH unique_skill = hero.skills %]
[% unique_skill.skill_name %] [[%
unique_skill.hero_skill.rank %]]
[% END %]
[% END -%]
Plea
Carl Franks wrote:
I don't think it's currently possible in a single step, to both select
which one's to relate, and edit them.
It's either a multi-value element to select them, or a Repeatable
block to edit the already related rows.
Carl
This is something I have been struggling with for ove
2009/2/3 Octavian Rasnita :
> Update the module because the documentation had errors.
>
> $form->create is not correct. It should be $form->model->create.
>
> I don't remember if the change was submitted to cpan or if I got the new
> code from the SVN repository, but try from the CPAN first.
>
> Oc
2009/2/3 Nigel Metheringham :
> I'm really not getting how the many-to-many support works in this, so could
> someone mock me up an example.
There are test files for many-to-many in:
t/default_values/
t/update/
t/options_from_model/
> to select the capabilities that superhero has, so I would like
2009/2/3 Octavian Rasnita :
> Update the module because the documentation had errors.
>
> $form->create is not correct. It should be $form->model->create.
True.
Just pointing out that $form->save_to_model() is also deprecated, and
should now be
$form->model->update()
Cheers,
Carl
___
Update the module because the documentation had errors.
$form->create is not correct. It should be $form->model->create.
I don't remember if the change was submitted to cpan or if I got the new
code from the SVN repository, but try from the CPAN first.
Octavian
- Original Message -
On Wednesday 03 December 2008, Carl Franks wrote:
> And just for good measure, I've also uploaded a new Model-DBIC !
A couple of the tests fail on my machine:
# Failed test at t/update/has_many_repeatable_new_date.t line 62.
t/update/has_many_repeatable_new_date..2/9
Good morning,
On 3/12/08 at 2:12 PM -, Carl Franks <[EMAIL PROTECTED]> wrote:
http://www.mirror.8086.net/sites/CPAN/authors/id/C/CF/CFRANKS/Catalyst-Controller-HTML-FormFu-0.
03006.tar.gz
I had more test errors with this one too. The error was
t/01basic-formconfig_conf_ext[error] Cau
Good morning,
On 3/12/08 at 2:12 PM -, Carl Franks <[EMAIL PROTECTED]> wrote:
How long should it take for these (inc Catalyst-Controller-HTML-FormFu) to
appear on cpan? I can't see the new versions at search.cpan.org.
It normally takes a couple of hours before it's listed on search.cpan.o
2008/12/3 Charlie Garrison <[EMAIL PROTECTED]>:
> Good morning,
>
> On 3/12/08 at 12:39 PM -, Carl Franks <[EMAIL PROTECTED]> wrote:
>
>> And just for good measure, I've also uploaded a new Model-DBIC !
>
> How long should it take for these (inc Catalyst-Controller-HTML-FormFu) to
> appear on c
Good morning,
On 3/12/08 at 12:39 PM -, Carl Franks <[EMAIL PROTECTED]> wrote:
And just for good measure, I've also uploaded a new Model-DBIC !
How long should it take for these (inc
Catalyst-Controller-HTML-FormFu) to appear on cpan? I can't see
the new versions at search.cpan.org.
I
13 matches
Mail list logo