Re: [Dbix-class] the apparent complexity of it all

2013-04-04 Thread Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
New patches on top of https://github.com/daxim/dbix-class/commits/master. I wonder whether this should not mention DBIx::Class::Schema::Loader from the start. With 974c7e5, the synopsis then has such a mention. hope we get some feedback from other folk versed in doc-writing I got valuable

[Dbix-class] Inherited search method, current_source_alias and add_to_ for many_to_many.

2013-04-04 Thread Dmitry Latin
Hello! A little overview. I have 1 table (users), and 3 result classes: AbstractUser, User and Admin. Table has column role (which defines who user is - Admin or User). And I use inflate_result in AbstractUser result class to transform it to Admin or User. I want to call

[Dbix-class] Re: Inherited search method, current_source_alias and add_to_ for many_to_many.

2013-04-04 Thread Dmitry L.
Seems I found mistake. In my search method I need to check $attr first, before using current_source_alias, because $attr can have redifinition for alias. On 4 April 2013 11:10, Dmitry Latin dim0...@gmail.com wrote: ** Hello! A little overview. I have 1 table (users), and 3 result

Re: [Dbix-class] Exceptions per DB system

2013-04-04 Thread Vangelis Katsikaros
Hi I sent this question about 1 month ago but got no answer. Perhaps there is something more I could add to make the question more specific, or I could add some information to make it more clear/easy to answer? Regards Vangelis On 03/01/2013 06:59 PM, Vangelis Katsikaros wrote: Hi In

Re: [Dbix-class] the apparent complexity of it all

2013-04-04 Thread Peter Rabbitson
On Thu, Apr 04, 2013 at 08:36:53AM +0200, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 wrote: New patches on top of https://github.com/daxim/dbix-class/commits/master. I wonder whether this should not mention DBIx::Class::Schema::Loader from the start. With 974c7e5, the synopsis then has such a mention. I meant

Re: [Dbix-class] Exceptions per DB system

2013-04-04 Thread Frew Schmidt
On Thu, Apr 04, 2013 at 12:50:19PM +0300, Vangelis Katsikaros wrote: Hi I sent this question about 1 month ago but got no answer. Perhaps there is something more I could add to make the question more specific, or I could add some information to make it more clear/easy to answer? Regards

[Dbix-class] the apparent complexity of it all

2013-04-04 Thread Brendan Byrd
Sorry, realized that I wasn't on the plain ol' DBIC ML, so I didn't get this initially. Message threading might be odd here... On Thu Apr 4 10:04:06 GMT 2013, Peter Rabbitson wrote: On Thu, Apr 04, 2013 at 08:36:53AM +0200, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 wrote: New patches on top of