search for: center_id

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

2006 Apr 10
4
has render_component changed?
...ked fine, but after the recent updates has broken in some calls to render_component from views. I might be missing something but as far as I remember Rails updates is the only thing I''ve done in between. See the log: *** START LOG SNIPPET Start rendering component ({:params=> {:center_id=>10, :id=>25}, :action=>"supervisory_commissions_widget"}): Processing EmployeeController#supervisory_commissions_widget (for 127.0.0.1 at 2006-04-10 22:07:27) [GET] Session ID: 94a1e0400481a317fcd235c1360c82ac Parameters: {"action"=>"supervisory_commi...
2006 Feb 07
3
help with relationship
Let''s imagine we are modelling a company that have several shops. I have a Worker model and a Shop model. A worker belongs_to a shop, and each shop has_many workers. But, in a shop there''s a distinguished worker that is the supervisor create table shops ( ... worker_id integer -- the supervisor ); How would you express this relationship?