search for: inform_police

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

2007 Dec 13
3
run sql query ?
hi i''ve got one action which i want it to perform a sql update query. how can i just run a sql query within my rails app? e.g. def @sql = "update ...... from mytable" execute @sql redirect_to :action => ''list'' end any ideas? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message