Displaying 3 results from an estimated 3 matches for "gooddog".
2007 Jan 09
1
assert_redirected_to not working as expected
...User.create(:login => "goober",
:email => "goober-I/zrSzmPSO5BDgjK7y7TUQ@public.gmane.org",
:password => "gomer",
:password_confirmation => "gomer")
end
...
def test_successful_signup
gooddog = enter_site(:gooddog)
gooddog.signs_up_successfully
end
...
private
module BrowsingTestDSL
include ERB::Util
attr_writer :name
...
def signs_up_successfully
post_signup("gooddog", "gooddog-plI9Zfxs2xb6V6G2DxALlg@public.gmane.org", "good...
2007 Apr 16
6
How to use a form.check_box ?
Hey guys,
I''m trying to have a simple webform in my administration section to
add a user. I have the text_fields for adding the user''s name,
password, and password confirmation, but cannot seem to figure out the
checkbox. I want it to be a single checkbox, that if clicked, will set
the database column "access" to be "admin" and if its unchecked, set
it to be
2006 Jun 18
0
Framework question about FormHelper ...
Hello,
I don''t understand how formhelper works (In a Framework point of view) ...
For example if I use the chek_box formhelper
1/ check_box("puppy", "gooddog", {}, "yes", "no") will call @puppy.gooddog
BUT, how it is possible since the check_box has only a string parameters
not instance object ?
2/ if you create your own helper which generate html identically as the
check_box("puppy", "gooddog", {}, "...