Michiel van Leening

  • Registered on: 2011-03-02
  • Last connection: 2011-03-07

Activity

Reported issues: 0

2011-03-07

04:33 PM PHP ActiveRecord Help: RE: Through relationship with custom classname?
Hi Jelmer,
You fixed a problem i also had. Your diff @ http://scrp.at/u3 saved my day! I had legacy tables with du...
03:53 PM PHP ActiveRecord Help: RE: RE: RE: RE: RE: Creating has_many relationship with non-standard foreign_key names
I gathered as much. I wish i could contribute the HasAndBelongsToMany class, but alas, my knowledge doesn't reach tha...
08:30 AM PHP ActiveRecord Help: RE: RE: RE: Creating has_many relationship with non-standard foreign_key names
Hi,
When i tried to rename one of the columns from the joining table, it wouldn't work anymore, since it was looki...

2011-03-03

03:47 PM PHP ActiveRecord Help: RE: Creating has_many relationship with non-standard foreign_key names
Wow, this soo works! Totally awesome!
I would've never figured out to use an array as the value for the through ke...
12:16 PM PHP ActiveRecord Help: RE: Creating has_many relationship with non-standard foreign_key names
Thanks, i'm not at home now so can't access the code, but have you also tried it the other way around?
$keyword =...
11:54 AM PHP ActiveRecord Help: RE: Creating has_many relationship with non-standard foreign_key names
No, my fault, the original pastie was incorrect. Below is the sql with which it works (only the join-table, the other...
11:40 AM PHP ActiveRecord Help: RE: Creating has_many relationship with non-standard foreign_key names
That might be because you have to write:
CREATE TABLE `huis_tref` (
`huis_id` int(11) NOT NULL,
`keyword_id...
11:05 AM PHP ActiveRecord Help: RE: Creating has_many relationship with non-standard foreign_key names
Hi,
Thanks for your effort. You seem to have missed my point: i cannot rename the database. This will break things...

2011-03-02

05:21 PM PHP ActiveRecord Help: Creating has_many relationship with non-standard foreign_key names
Hi,
I've been trying out phpactiverecord over other ORM systems since i really like the clean approach and the wel...

Also available in: Atom