search for: vouchm

Displaying 6 results from an estimated 6 matches for "vouchm".

Did you mean: vouch
2006 May 08
17
partial problem
def my_controller @variable = [{''myfield''=>''grey''},{''myfield''=>''blue''}] end #-------------------------my_view <table> <%= render :partial=>''my_partial, :collection=>@variable %> </table> #----------------------_my_partial <tr> <td><%=
2006 May 19
1
FileColumn
I''m using Windows and Postgres 8. I installed RMagic gem thingy and FileColumn plugin ok. I followed instructions exactly as directed on FileColumn web site which is very straight forward: ---model class My_model < ActiveRecord::Base file_column :column_for_file_name end -----view -upload form--set to mulitpart <%= file_column_field "my_model",
2006 Apr 28
1
beginner - default form values
I want to build a simple calculator with 1 form and a results page. The form will be redisplayed with an error message upon an invalid value entered. I won''t be using any database/active record for this. The problem i have is when i return to the form page i want to redisplay the values already entered in the form fields. Should i use text_field (which seems to be tied to a model) or
2006 May 07
0
partial problem from down under.
I''m trying to display a partial with the :collection parameter. The value i pass to the collection parameter is an array of hashes, something like.. [{''a''=>''1''},{''a''=>''2''}]. I would have expected that if I display something like partialname[''a''] within my partial, I would see the values of
2006 May 24
0
md5 documentation (newbie)
I''m going through the online documentation for Ruby 1.8.4 and looking at Digest/MD5 classes and methods. There is one class method for the MD5 class, which is md5. I have Ruby 1.8.2 but this md5 function doesn''t seem to be supported. The way to hash something on my computer is to use hexdigest method of the MD5 class yet I can''t see it in the 1.8.4 online
2006 May 24
3
packages, modules
i cant make sense in my own mind what is happening, so if someone can explain, it would be appreciated. I did the following on the command line.. >require ''md5'' =>true >t = MD5 =>Digest::MD5 >t.md5(''confused'') =>1a7f2a5ad77128b2f81feddac78df213 # so far so good, now start new command line # or unload module >require