Displaying 2 results from an estimated 2 matches for "hardware_cis".
Did you mean:
hardware_ci
2008 Mar 28
0
select in a loop
Hi
My view code is
<% for hardware_ci in @hardware_cis %>
<td> <%= select( "sd_ci", "service_desk_ci_association_type_id",
ServiceDeskCiAssociationType.find(:all).collect {|p| [ p.description,
p.id ] }) %></td>
<%= hidden_field "sd_ci", "id", "value" => hardware_ci.ci.id %>...
2008 Jan 02
6
problem when editing record in polymorphic relation
...areCi
The table, software_cis ,contains the following records
=====================================================
id | asset_tag | status | version
----+-------------------+---------+---------
1 | AC Logix - AT1 | Status2 | 1.0
2 | RR Logix AT2 | Status3 | 2.3
The table, hardware_cis ,contains the following records
=====================================================
id | asset_tag | status | version
----+-------------------+---------+---------
1 | HCL - AT1 | Status1 | 1.0
2 | IBM - AT2 | Status1 | 2.3
The controller, ci_controller, contains th...