Displaying 1 result from an estimated 1 matches for "get_current_employee".
2006 Jan 27
2
DB & AR advise please (diagram inc)
...d one for users?
Also is my Active record text correct in your opinion? I would like to
be able to do things like:
client = Client.find(params[:id])
client.get_all_active_tickets
user = User.find(params[:id])
user.get_all_tickets
ticket = Ticket.find(params[:id])
ticket.get_all_journals
ticket.get_current_employee
ticket.get_status
ticket.get_company_name
ticket.get_company_email
employee = Employee.find("John Smith")
employee.get_all_my_tickets
Any help would be fantastic!
Thanks Aftershock
--
Posted via http://www.ruby-forum.com/.