Welcome Guest, Not a member yet? Register   Sign In
ActiveRecord for CodeIgniter: Rails-style model interactions
#14

[eluser]danfreak[/eluser]
About relationships:

Why don't go for some conventions a bit like in CakePHP?

For example, if in the table "users" we have a field "group_id", the foreign key for our hasMany relationship is "foreign-key-table-name_id".

Just an idea...

Dan


Messages In This Thread
ActiveRecord for CodeIgniter: Rails-style model interactions - by El Forum - 09-22-2007, 03:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB