[Rails] ajax problem when switching from prototype to jquery

2011-09-25 Thread David Carlton
; it's not clear to me why that would make a difference, but I don't really understand how the jquery-rails gem takes effect, so it's entirely possible that I'm inadvertently completely bypassing it somehow. Thanks, David Carlton carl...@bactrian.org -- You received this message because you

[Rails] Re: functional testing unobtrusive JavaScript to update a portion of a page

2011-07-23 Thread David Carlton
On Wed, Jul 13, 2011 at 9:00 PM, David Carlton carl...@bactrian.org wrote: Any recommendations for a better way to test this sort of thing? (Where this sort of thing is updating body elements via unobtrusive JavaScript.) In case anybody else is curious, here's what I ended up

[Rails] functional testing unobtrusive JavaScript to update a portion of a page

2011-07-14 Thread David Carlton
:answer, :format = 'js', :item = @one.id assert(response.body.include? Answer 1) end which is certainly better than nothing, but isn't nearly as precise as I'd like. Any recommendations for a better way to test this sort of thing? Thanks, David Carlton carl...@bactrian.org -- You received

[Rails] keystroke commands

2008-09-08 Thread David Carlton
the buttons and javascript I'm currently using after my signature.) Thanks for any help; as is doubtless obvious from the above, I'm new to Rails. (And, for that matter, to javascript.) David Carlton [EMAIL PROTECTED] %= button_to(Yes, { :action = :correct_answer, :item = answer }, { :id = yes