search for: show_button

Displaying 2 results from an estimated 2 matches for "show_button".

2013 May 12
10
Capybara with redirect
I am having an issue where a feature works fine but the corresponding test fails, and I can''t understand why. I created a mock application to demonstrate the problem. https://github.com/assafshomer/clear_button All it does is show an input form with a clear button. The clearing happens by redirecting back to the same form. It does clear it when you run the app, but the test for it
2006 Apr 05
1
New AJAX function: remote_replace_with_partial() <-- write less code
I hate writing controller actions that support simple lightweight ajax calls like this: def show_buttons render :partial => "home_buttons" end So the birth of remote_replace_with_partial Now you can replace a div elements with any controllers partials and pass those partials any number of params without having to write supportive actions in your controllers. This is a great tool fo...