Displaying 2 results from an estimated 2 matches for "xyz_id".
Did you mean:
my_id
2008 Jul 21
6
form_for and select ( => f.select)
Hi All
I''m trying to combine the from_for and select helpers
Right now I have
form_for :service, :url => ...... do |f|
select("abc", "xyz_id", @my_arr.collect {|item| [ item, "bla" ] },
{:prompt => "opt1"} )
....
end
What I want to do is something like
....
f.select("abc", "xyz_id", @my_arr.collect {|item| [ item, "bla" ] },
{:prompt => "opt1"} )
....
(...
2007 Nov 29
2
railroad-database problem
...39;] is development. (configured)
and suppose that there is a table xyz under this schema (schema_name3),
then I have to inherit from this class and define the model for the xyz
table like
xyz.rb
class Xyz < Reporting
set_table_name ''xyzs''
set_primary_key ''xyz_id''
end
so whenever the xyz table is called, it automatically connects to the
legacy_development connection and proceeds. Right ??
This is the scenario. (Hope my understanding is properÂ…!@#$#)
2. Now I am trying to run the railroad under my
application having the...