search for: scrise

Displaying 5 results from an estimated 5 matches for "scrise".

Did you mean: scris
2006 Mar 31
10
ruby help / if (cond or cond)
Why this code doesn''t work as expected? It raises exceptions everytime. Tried with || operator, too. validates_each :x, :y do |record, attr| record.errors.add (attr, ''between 1 and 100'') if (attr.to_i>100 or attr.to_i<0) end -- They say money can''t buy happiness? Look at the smile on my face... ear to ear, baby!
2006 Mar 23
2
newbie - form_tag with get?
I can''t create a form with method "get". The rhtml code: <%= form_tag :controller => ''teritory'', :action => ''add'', :method => ''get'' %> The generated html code: <form action="/teritory/add?method=get" method="post"> What i''m doing wrong? -- They say money can''t
2006 Mar 13
2
Prototype ajax/javascript q
I''m trying to send to my application the coords x,y on an "input type image" in a html form, but x,y variables are not present in the POST_DATA (are not submitted). Any other field (hidden inputs) are being sent when I click on the image input form field. I use rails 1.0 and prototype 1.4, browsers Seamonkey 2.0, Firefox 1.x and Konqueror, Linux, and I''m just a
2006 Aug 02
0
samba-3.0.23a: NT_STATUS_BAD_NETWORK_NAME and swat: no log out button (?)
...ment = Kituri pentru jocuri. [Kit] path = /home/date/Kit comment = Kituri de programe. [Reclame] path = /home/date/Reclame comment = Filmulete si fisiere audio cu reclame faine. [Videoclipuri] path = /home/date/Videoclipuri comment = Videoclipuri. [Doc] path = /home/date/Doc comment = Documente scrise. [Imagini] path = /home/date/Imagini_CD comment = Imagini de DVD, CD si alte componente (nu-i vorba de poze!). [Retea] path = /home/date/Retea comment = Chestiuni de retea [Full] path = /home/date/full comment = Full access # EOF # smbusers # Unix_name = SMB_name1 SMB_name2 ... # $Header: /var/...
2006 Mar 14
4
ruby-postgres: can''t convert string to integer
Hi everybody, I''m experiencing trouble when trying to use ruby-postgres with a legacy database I need access to. To me it seems the problem is the VARCHAR columns used there as primary keys. On a simple me = User.find(''PS12345'') I get a type error exception with the message ''can''t convert String into Integer''. The trace is: