Displaying 1 result from an estimated 1 matches for "customer_tags".
Did you mean:
customers_tags
2007 Jul 18
16
Edge Rails namespaced routing
...y
as it stands you can in /app/models/ make a folder called /customer/
there add tag.rb and note.rb. With models Customer::Tag and
Customer::Note. One thing is the table_name will remain "tags" and
"notes", which in this case should be prefixed by the namespace name
like "customer_tags" and "customer_notes". Also with the ability to
have a root model like Customer in /customer/root.rb.
I''d love to hear that this can already be done as rails stands. I can
make the patches and submit them, however I don''t want to divulge from
other design conside...