search for: zbyte

Displaying 7 results from an estimated 7 matches for "zbyte".

Did you mean: byte
2006 Jan 25
6
cant convert integer to string
I''ve experimented around and have ran out of ideas, here''s the message: TypeError in True_false_questions#list can''t convert String into Integer RAILS_ROOT: script/../config/.. Application Trace <http://zbyte32:3000/true_false_questions/list/0#> | Framework Trace <http://zbyte32:3000/true_false_questions/list/0#> | Full Trace<http://zbyte32:3000/true_false_questions/list/0#> ./script/../config/../app/controllers/true_false_questions_controller.rb:9:in `[]'' here''s the c...
2006 Jan 28
2
Enum
When I do scaffold generated code for a table that has "enum" in it and i goto to the "new" button, no options are given. Anyway i could automate it so i can get a drop down box when using enums? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060128/3af188e0/attachment.html
2006 Jan 28
8
how to pass search parameters to pagination links
I have a search page with a text_field as below <%= text_field ''program'', ''program_name'' %> After I perform the search in my controller I go to a search results view which shows search results and uses Rails pagination. Now how to pass the search paramters (i.e. params[:program][:program_name] in my controller) to the pagination links (next and
2009 Sep 12
1
[PATCH] Let MEMDISK honor the quiet append option
...about this feature on http://www.boot-land.net/forums/index.php?showtopic=8935&st=40 $ diff -u memdisk.h.old memdisk.h --- memdisk.h.old 2009-09-12 22:31:11.000000000 +0200 +++ memdisk.h 2009-09-13 00:30:39.000000000 +0200 @@ -134,4 +134,7 @@ extern void *unzip(void *indata, uint32_t zbytes, uint32_t dbytes, uint32_t orig_crc, void *target); +/* Show a lot of output or not */ +bool quiet; + #endif $ diff -u msetup.c.old msetup.c --- msetup.c.old 2009-09-12 22:24:59.000000000 +0200 +++ msetup.c 2009-09-13 00:34:24.000000000 +0200 @@ -58,10 +58,10 @@ if...
2006 Jan 31
1
Calling Controller without redirecting
This is a bit of a weird question, but what if i wanted to pick a controller from a controller without redirecting? Let me explain: user goes to localhost/foobar/choose foobar/choose picks one of the three phobar/index bar/index foo/index but instead of redirecting, it simply executres one of the controllers and forwards the result. Strange? yes. Useful? very. Thx -------------- next part
2006 Jan 27
6
Scaffolding to use has_many and belongs_to ?
What does everyone on this list think about enhancing scaffolding somehow so that a "has_many" relationship will automatically drop the <select> box into the view to reference the "belongs_to" part of the view? I think scaffolding is great but I am always adding the <select> boxes to reference the parent association. Do you think this would be useful? just a
2006 Jan 30
0
ActiveLDAP examples
Hello all, I am interested in developing some web front end stuff for an openldap directory using RoR. But there seems to be a lack of examples. If you guys know of any links to examples in using ActiveLDAP, that would be great :) Also if there is anything i should know about before using activeldap that you know from experience would also be nice. Thx in advance. -------------- next part