search for: table2_id

Displaying 1 result from an estimated 1 matches for "table2_id".

Did you mean: ptable_id
2006 Feb 28
2
Need help with a Power Find()
...------------------------------------------- class Table2 < ActiveRecord::Base has_one :table1 end ##### Controller ###### def new @table2 = Table2.find_all # This is what I want to change @table1 = Table1.new end ###### View ##### <%= collection_select ''table1, ''table2_id'', @table2, :id, :address -%> I am very new to ruby and rails and know how to do easier searches, but doing a search from two tables and matching the results is a little beyond me at this point. If there is a different or better way to go about doing this, I am open to suggestions. Any...