search for: field_2

Displaying 3 results from an estimated 3 matches for "field_2".

Did you mean: field2
2006 Jan 22
0
link_to query string
Here''s a simple one I think. Using link_to, how do you get multiple fields in the query string? link_to("anchor text", {:action=>"neat_page", :field_1=>"value 1", :field_2=>"value 2"}) -this only gets you field_1 in the query string as does this - link_to("anchor text", :action=>"neat_page", :field_1=>"value 1", :field_2=>"value 2") link_to("anchor text", :options=>{:action=>"neat_pa...
2006 Jan 17
5
simple question
How do I pass parameters from one controller to another during redirect_to command? I want to pass both model and non-model objects. The solution I use is via session, but I rather pass it as parameters to the redirect_to Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Jan 20
6
Pre-populate db with yaml outside of testing?
Hi. What is the best way to pre-populate your database with records while developing, not testing? For example, I want to: 1) > [run this command to populate db] 2) > ruby script/server 3) now I can surf to localhost:3000 and my app will already have relevant data I''m hoping to use yaml to suck it in. Is there a way to use the Fixture class to handle this even though this is