[DBIx-Class-Devel] [dbix-class] Extend subclassing article in cookbook and add example to show how it works. (#38)

Dmitry Latin notifications at github.com
Sat Jan 4 13:00:00 GMT 2014


Article is based on http://grokbase.com/t/sc/dbix-class/13cvefrj4t/reusing-defined-columns-inheritance
Maybe it could be useful.
You can merge this Pull Request by running:

  git pull https://github.com/dim0xff/dbix-class topic/role_reusing_rs

Or you can view, comment on it, or merge it online at:

  https://github.com/dbsrgits/dbix-class/pull/38

-- Commit Summary --

  * Extend sub-classing receipt and add examples
  * Small fix in cookbook

-- File Changes --

    A examples/ComponentHooks/db/db.db (0)
    A examples/ComponentHooks/db/db.sql (56)
    A examples/ComponentHooks/dbtest.pl (150)
    A examples/ComponentHooks/lib/DB.pm (14)
    A examples/ComponentHooks/lib/DB/Result/Realty/Apartment/Rent.pm (9)
    A examples/ComponentHooks/lib/DB/Result/Realty/Apartment/Rent/Daily.pm (9)
    A examples/ComponentHooks/lib/DB/Result/Realty/Apartment/Sell.pm (9)
    A examples/ComponentHooks/lib/DB/Result/Realty/House/Rent.pm (9)
    A examples/ComponentHooks/lib/DB/Result/Realty/House/Sell.pm (9)
    A examples/ComponentHooks/lib/DB/ResultRole/Realty/Rent.pm (11)
    A examples/ComponentHooks/lib/DB/ResultRole/Realty/Rent/Daily.pm (12)
    A examples/ComponentHooks/lib/DB/ResultRole/Realty/Sell.pm (12)
    A examples/ComponentHooks/lib/DB/Shared/Result/Realty.pm (11)
    A examples/ComponentHooks/lib/DB/Shared/Result/Realty/Apartment.pm (9)
    A examples/ComponentHooks/lib/DB/Shared/Result/Realty/House.pm (9)
    M lib/DBIx/Class/Manual/Cookbook.pod (107)

-- Patch Links --

https://github.com/dbsrgits/dbix-class/pull/38.patch
https://github.com/dbsrgits/dbix-class/pull/38.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/38
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20140104/70a54624/attachment.htm


More information about the DBIx-Class-Devel mailing list