Displaying 4 results from an estimated 4 matches for "ryouga".
Did you mean:
rough
2006 Mar 13
2
How to apply an effect to a link_to_remote :update without using evaluate_remote_response?
Hey all,
I''ve been trying to apply a slide-down (or highlight) effect to a "New
card" link on my application. Because the item is *new* and I''m simply
updating it at the top, I can''t know what the div id is before I make
the request. link_to_remote :complete => visual_effect(:slidedown)
doesn''t do what I want it to do. My current solution is:
2005 Oct 12
1
Global helper method?
I want a method to be accessible from everywhere in my app (it''s a Gaussian
RNG) - I''ve already put them as protected methods in application.rb but that
would only allow them to be accessed from controllers.
I have a method in a model that needs access to this too, and I''d prefer not
performing the calculations outside the model. Copying the method definition
into the
2006 May 05
1
select :selected doesn''t actually generate a selected option
All,
I have code that looks like this:
<%= select(''date'', ''month'', [
["1?","1"],
["2?","2"],
["3?","3"],
["4?","4"],
["5?","5"],
["6?","6"],
["7?","7"],
["8?","8"],
2006 Mar 15
4
RJS template eating encoding
I was previously doing an update via .rhtml templates creating an AJAX
:evaluate_remote_response. I use UTF-8 in my pages, and my app
requires that I be able to, say, put Japanese characters in.
The problem is that when I switched this over to an RJS template it
started eating the encoding. I now get garbage characters where before
I got the correct ones.
The code for the RHTML:
<%=