search for: tfyl

Displaying 4 results from an estimated 4 matches for "tfyl".

Did you mean: tfil
2007 Jan 20
2
find_by_sql with named parameterized sql
...where amount > ? and quantity > ?", [ @amount, @quantity ] works;.. but Order.find_by_sql ([select * from orders where amount > :amount and quantity > :quantity ", [ :amount => @amt, :quantity => @qty ] is not working a I wrong or should I use a plain select string ? tfyl kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@publi...
2007 Jan 31
1
RJS collection proxy
...<a> tags found in a div of my page.. I can get it all (seeing the index and value) using : page.select("#header_domain_map a").each do |value, index| page << ''alert(value);'' end but how can I set the classof all these elements to class="active" tfyl kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@publi...
2007 Feb 07
0
Ajax rjs - escape single quote in returned string ?
..._title'' NAME=''new_title'' VALUE=''#{params[:new_title]}'' />") but if params[:new_title] string has a single quote like "can''t get all the string" the html is shorten.. what''s the trick to escape the returned string ? tfyl kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@publi...
2007 Jul 02
3
stupid Rails rendering
...do |format| format.js { page.redirect_to posts_url if @located render :update do |page| page.replace_html ''error_message'', "Error..." page << "$(''popup_error'').popup.show();" end } end tfyl kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@publi...