This question has two parts
- I currently have setup two models and 1 controller. In the view of
the controller I have setup a form with a select form component and
would like the values of this select component to be filled with ALL
values of a particular component in the colum of the second model.
Example-
Table 1: id name comment
Table 2: id comment
I do not want to use any relationship (as in has_many, etc.) here
because I hope in the future to allow the user to be able to add their
own comment if they do not find a comment in the select component that
they like. Can this be done without explicity stating SQL in the
find_by_sql command.
Thanks,
Benjamin