Displaying 3 results from an estimated 3 matches for "leevi_graham".
2006 Nov 04
0
RESTful controller naming conventions
...standing that originally controller names where singular.
In all the examples of RESTful controllers the names have been
pluralized.
So what is the new convention? Singular or plural controller names?
Leevi Graham
Front End Developer - User Interface Designer
www.leevigraham.com | Skype Me: leevi_graham
MSN Messenger: info@leevigraham.com
Download My VCard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060905/8f33f7d8/attachment.html
2006 Aug 16
1
Naming rights_roles join model using has_many :through and polymorphic associations
...s
end
NEW TABLES:
users
rights
roles
groups
responsibilites
rights_roles
Has anyone got any comments / corrections / ideas about this one?
Maybe a more suitable join model name than responsibilities
Leevi Graham
Front End Developer - User Interface Designer
www.leevigraham.com | Skype Me: leevi_graham
MSN Messenger: info@leevigraham.com
Download My VCard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060816/2f44a1f0/attachment.html
2006 Jul 26
3
Polymorphic Association with Single Table Inheritance?
Hello,
is it possible to setup a model/table schema like this:
Groupable --> Membership <-- Group
^ ^
| |
User UserGroup
I tried the following but failed:
Groupable (table with ''type'' column)
has_many :memberships, :as => :groupable
has_many :groups, :through => :memberships