J
Josh Hester
ok, well i have os_hardware_combos.send("platform_id") which returns 1
and i have Platforms.find(1)
which returns a value i want
but if i do Platforms.find(os_hardware_combos.send("platform_id")) it says,
no id supplied to the find method
The only thing I can think of would be the 1 that is returned is not
numeric? Although this didn't seem very ruby like.
Any help?
and i have Platforms.find(1)
which returns a value i want
but if i do Platforms.find(os_hardware_combos.send("platform_id")) it says,
no id supplied to the find method
The only thing I can think of would be the 1 that is returned is not
numeric? Although this didn't seem very ruby like.
Any help?