Welcome Guest, Not a member yet? Register   Sign In
ORM Datamapper Relationship problem

Hey there,

I have two tables named users and photos.

Users have many photos while a photo would have just one user, related with "owner_id" field in photos table.

I wanted to use "pictures" word as relationship name instead of "photos" .. Here is the configuration I've finally ended up, which seems doesn't work by causing "Unable to relate user with photo." error.

Look at this picture for all details you would ask;


Thanks for ideas!

Theme © iAndrew 2016 - Forum software by © MyBB