search for: sales_rep

Displaying 2 results from an estimated 2 matches for "sales_rep".

2006 May 09
1
Beginner questions on attributes and arrays
...y correlate to a database column? 2) How do I declare a two dimensional array in a model so that I can receive data from a form in an array? If it helps clarify what I am trying to do, here is what I think my HTML should look like: ________________________________________ <%= text_field("sales_rep", "territories[1][1]", :size => 6) %> - <%= text_field("sales_rep", "territories[1][2]", :size => 6) %> <br> <%= text_field("sales_rep", "territories[2][1]", :size => 6) %> - <%= text_field("sales_rep"...
2006 May 29
9
design recommendations for authenticating users with lots of different attributes..?
I''ve been struggling a bit trying to figure out the best way to design/implement a system with authentication/authorization, and was hoping some of you may be able to offer some advice.. At the moment, I have a system with 4 different types of users - clients, administrators, sales_reps, and public_users. I''m using "Authorizing Users with Roles" from the Rails Recipes book, and it''s working well, the only problem I''m having is the following: I have a Users table which contains pretty much the minimum amount of information required to allow u...