On 13 November 2017 at 15:21, Rajesh Mallah wrote:
> Hi ,
>
> the roles of my users cannot be represented in a table column
> for a separate relation . It involves some logic that can be put
> in a subroutine/method of my DBIx::Class schema object
> representing the user.
[...]
> i have implement
Yes, I got the wrong end of the stick. Sorry (repeatedly :)).
On 31 January 2014 15:03, Bill Moseley wrote:
>
>
>
> On Fri, Jan 31, 2014 at 3:58 AM, Will Crawford
> wrote:
>>
>>
>> If the string has been decoded *from* UTF-8 to Perl's internal
>> repr
On 31 January 2014 11:53, Christian Lackas wrote:
...
> That said, in my application I have:
>
> my $file = $c->request->param('file');
> warn "is_utf8: ", utf8::is_utf8($file), "\n";
>
> and see that $file has not been decoded to UTF-8, although debug lines
> in _handle_param_unicode_deco
On 14 August 2013 10:53, Will Crawford wrote:
[...]
Also, making it easier to restore a session id after deserialising a
request. I was asked to implement an API that passes session IDs with
an XML request body, rather than in the URL or a cookie. It turned out
to be quite hard to restore the
On 13 August 2013 16:37, John Napiorkowski wrote:
[...]
> The main issue that I see is that we have too many ways to do exactly the
> same thing (return JSON for AJAX endpoints) and no clear reason why any of
> them are better for a given purpose. Additionally, some of them are a bit
> verbose
On 10 March 2013 19:58, Tomas Doran wrote:
> Does anyone have a strong opinion on this being added to their app by
> default?
>
> Does anyone have an app which needs you to NOT load the unicode plugin?
> Speak now, or you're gonna have a bad time :)
>
Think I kind of meant to reply to this mess
While it's not Catalyst's fault, I've found over the years that interacting
with underlying libraries, databases and legacy systems is generally easier
when I *don't* try to force anything. I have custom code in place to deal
with know sources of inconsistent encodings (check to see if it's valid
U
This happened to me on Friday, I rebooted my machine and it was fine again;
I think it's just that the kernel has a limited number of slots for
watchers and they got full up.
On 29 January 2013 16:15, Robert Rothenberg wrote:
> I am trying to start a Catalyst development server but it fails wi
On 22 November 2012 17:03, Stephen Shorrock wrote:
> Hi Lukas,
>
> Firstly thanks and secondly I take your point regarding the relationships.
>
> It seems sensible that I should create an object to manipulate a
> Montage rather than methods attached to other objects that seem to be
> modifying som
On 31 October 2012 09:31, Craig Chant wrote:
> You're misread what I put where?
>
> It clearly states
>
> Edit lib/MyApp/View/HTML.pm and you should see something similar to the
> following:
>
> __PACKAGE__->config(
> TEMPLATE_EXTENSION => '.tt',
> render_die => 1,
> )
On 19 October 2012 18:37, Bill Moseley wrote:
> delete $c->stash->{foo};
Is there a function / method called "foo" anywhere in scope?
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable a
On 15 September 2012 03:38, Darren Duncan wrote:
> Brian Katzung wrote:
>>
>> If I recall correctly, I read in a cookbook somewhere (can't seem to find
>> it now) that for rows with no primary key, you can use:
>>
>> __PACKAGE__->set_primary_key(__PACKAGE__->columns);
>>
>> (making the entire row
On 28 June 2012 23:12, Gavin Henry wrote:
...
> Thanks Tim. Yes, I know that but then the other two realms will fail
> and that's the point of progressive. I want to call one ->authenticate
> which tries all the realms I've defined in progressive_oauth.
Regrettably, the docs for the Password real
On 8 May 2012 16:54, Kenneth S Mclane wrote:
> So you're saying I should do this:
>
> __PACKAGE__->belongs_to(
> "account",
> "dbms::Schema::Result::Account",
> { account_id => "account_id" },
> );
>
> ?
Looks right. We have quite a lot of *_id foreign key columns, and all the
accessors
On 8 May 2012 16:44, Kenneth S Mclane wrote:
> The Catalyst helper script created most of the relationships. I added a
> few at the bottom of the Account.pm file to since there are a bunch of them
> based on "account_id", so I made them myself and gave them different names.
> progress, metrics, c
On 8 May 2012 16:13, Kenneth S Mclane wrote:
> I am having a problem with my code and I cannot figure out why it is doing
> what it is doing. I have this sub:
>
> sub list :Local {
> my ($self, $c, $page) = @_;
> $page = $c->req->param('page') || 1;
> my $rs = $c->model('OR
On 27 April 2012 16:09, Kenneth S Mclane wrote:
>
> I swear I tried that and it still didn't work. It does now, thank you. Can
> you tell me what I need to add to "$c->stash(accounts => [
> $c->model('ORANGES::AccountView')->all ]);" to sort by the account_code in
> ascending order? It's obviousl
On 27 April 2012 15:50, Kenneth S Mclane wrote:
> This was a test to make sure I was actually getting data. My intention is
> to return all rows in pager format. I haven't made it to that part yet.
> Here is my template code:
>
>
> DepartmentAccount CodeAccount
> NamePolicyCompliantServersSu
On 27 April 2012 14:54, Glen Diener wrote:
> Thanks for the suggestion. The error changed to:
>
> DBIx::Class::ResultSet::find(): DBI Connection failed: Can't connect to data
> source 'ARRAY(0xe8bfa0)' because I can't work out what driver to use (it
> doesn't seem to contain a 'dbi:driver:' pref
On 27 April 2012 15:17, Will Crawford wrote:
> or you need to take the [ ... ] out from around your connect info args :)
Actually, just the latter should help you ... :)
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-
On 27 April 2012 14:25, Glen Diener wrote:
> I'm new to Catalyst and have nearly completed the development of my first
> Catalyst web site. I'm needing to implement scripts to do some off-line
> database processing and would like to use the DBIx model created and
> implemented for the Catalyst
On 28 February 2012 13:03, Johannes Kilian wrote:
> I cannot figure out how to set XML::Simple as default handler and override
> this for certain URLs within the same controller whilst for other URLs within
> the same controller the default XML-Handler is used
$c->stash(current_view =
On 27 January 2012 14:13, Dave Howorth wrote:
> Octavian Rasnita wrote:
>> It may work unless the site already needs to use I18N for real languages.
>
> I think the solution in that case is to use a language tag something like
>
> en-US-x-my-private-tag-for-this-user
en_US.UTF8-$CLIENT ?
__
On 24 October 2011 12:59, clara resende wrote:
> log4perl.rootLogger=DEBUG, Screen, Logfile
> log4perl.appender.Screen=Log::Dispatch::Screen
> log4perl.appender.Screen.Threshold=WARN
>From the example in the L::L4P::C man page:
The logging statement can be suppressed or activated based o
On 10 October 2011 16:00, Tobias Kremer wrote:
> On Mon, Oct 10, 2011 at 4:07 PM, Matthias Dietrich wrote:
>> Am 10.10.2011 um 15:59 schrieb Denny:
>>> The word you both want is 'lose'. Loose means something slightly different
>>> (and slightly odd, when discussing data).
>
> Absolutely! Sorry
On 12 September 2011 13:39, wrote:
> my $response = {
> foo = $object->foo,
> bar = $object->bar,
> bam = $object->bam,
> };
> $c->stash->{ajax_response} = $response;
>
> It should also be possible to create a 'flatten' method that does this for
> you in a generic manner, y
On 6 September 2011 15:12, Nick wrote:
...
> [debug] "GET" request for "login/124/audit_log" from "127.0.0.1"
...
Doesn't match /login/id/*/audit_log (missing the "id" path part).
Sorry.
:)
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists
27 matches
Mail list logo