Displaying 2 results from an estimated 2 matches for "main_office".
2006 May 17
5
select list
I''m trying to build a selection list which I have done in various ways
but this one is new to me.
I have a ''facilities'' table which has all the outpatient facilities but
I need to add ''Float'' and ''Main Office'' which I don''t want to add to the
''facilities'' table itself.
so I figure I can add these to an
2006 Jun 16
0
trying to pick up a little speed...
...#39;' screen where I am populating some select lists in the
controller (perhaps some of this should be moved to the model).
I am still using this in development mode so I am not getting benefit of
locked models and caching anyway but in...
def find
@personnel = Personnel.find(:all)
@main_office = Facility.new(:name => "Main Office")
@float = Facility.new(:name => "Floater")
@facility = Facility.find(:all)
@facility = @facility << @main_office
@facility = @facility << @float
@bh_category = Valuelist.find(:all,
:conditions =>...